{"id":20594650,"url":"https://github.com/koca/grav-theme-masonry","last_synced_at":"2025-07-08T12:07:36.011Z","repository":{"id":139680531,"uuid":"57934188","full_name":"koca/grav-theme-masonry","owner":"koca","description":"Masonry, grid-based blog theme for Grav","archived":false,"fork":false,"pushed_at":"2020-05-09T02:21:16.000Z","size":733,"stargazers_count":45,"open_issues_count":10,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T23:36:54.659Z","etag":null,"topics":["grav"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-05-03T02:01:51.000Z","updated_at":"2024-04-22T17:30:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"b574617a-cc61-4438-88bb-d95028bf2170","html_url":"https://github.com/koca/grav-theme-masonry","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/koca/grav-theme-masonry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koca%2Fgrav-theme-masonry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koca%2Fgrav-theme-masonry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koca%2Fgrav-theme-masonry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koca%2Fgrav-theme-masonry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koca","download_url":"https://codeload.github.com/koca/grav-theme-masonry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koca%2Fgrav-theme-masonry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264267069,"owners_count":23581929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grav"],"created_at":"2024-11-16T08:09:40.621Z","updated_at":"2025-07-08T12:07:36.005Z","avatar_url":"https://github.com/koca.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Masonry Grav Theme\n\n![Masonry](assets/readme.png)\n\nThe **Masonry** theme for Grav is a direct port of the [Masonry Theme for Ghost](https://github.com/chris-brown/Masonry-Ghost-Theme) designed by [Chris Brown](http://blog.zirafon.org/about).\n\n# Installation\n\nInstalling the Masonry theme can be done in one of two ways. With GPM (Grav Package Manager) installation method enables you to quickly and easily install the theme with a simple terminal command, while the manual method enables you to do so via a zip file.\n\n### GPM Installation (Preferred)\n\nThe simplest way to install this theme is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's Terminal (also called the command line).  From the root of your Grav install type:\n\n    bin/gpm install masonry\n\nThis will install the Masonry theme into your `/user/themes` directory within Grav. Its files can be found under `/your/site/grav/user/themes/masonry`.\n\n### Manual Installation\n\nTo install this theme, just download the zip version of this repository and unzip it under `/your/site/grav/user/themes`. Then, rename the folder to `masonry`.\n\nYou should now have all the theme files under\n\n    /your/site/grav/user/themes/masonry\n\n# Dependencies\nThis theme requires [Pagination](https://github.com/getgrav/grav-plugin-pagination) plugin.\nSupports Disqus or [Comments](https://github.com/getgrav/grav-plugin-comments) plugin.\nAnd i highly recommend [Grav Admin](https://github.com/getgrav/grav-plugin-admin) plugin.\n\n# Skeleton\nThe theme works best in combination with appropriate content and configuration. Please check out the [Mediator Skeleton Package](https://github.com/getgrav/grav-skeleton-mediator-site).\n\n## Pages Hierarchy\n`your/site/user/pages` should look like:\n```\n├── 01.blog (Main folder for blog posts)\n│   ├── default.md (blog settings)\n|   |── header.jpg (blog cover image if you want to)\n|   |\n│   ├── post-with-cover (folder for a blog post)\n│   │   ├── post.md\n│   │   └── unsplash.jpg\n│   ├── tooling-grunt (folder for a blog post)\n│   │   └── post.md\n|\n└── 02.about (Page Folder)\n    └── page.md\n```\n\n# Configuration\n\nOpen the `your/site/user/data/site.yaml` file and add/replace these lines.\n\n```\n# Home Page Title\ntitle: 'Mesut Koca · Web Developer'\ndescription: 'Thoughts, stories and ideas.'\n\nauthor:\n  name: 'Mesut Koca'\n  email: youremail@domain.com\n  # Avatar image optional (under your/site/user/themes/masonry/images/avatar.png)\n  image: avatar.png\n  # Optional\n  link: 'https://twitter.com/twitterusername'\n  # Optional\n  location: Poland\n  # Optional\n  bio: 'Type something cool here.'\n\n\n# Optional\ndisqus: disqususername\n# Optional (under your/site/user/themes/masonry/images/logofile.png)\nlogo: logofile.png\n```\n\n## Blog Settings\n\nSample `your/site/user/pages/01.blog/default.md` file\n\n```\n\n---\n#cover: header.jpg  this is optional...\nsitemap:\n    changefreq: weekly\n    priority: 1.03\ncontent:\n    items: '@self.children'\n    order:\n        by: date\n        dir: desc\n    limit: 8\n    pagination: true\nfeed:\n    description: 'Sample Blog Description'\n    limit: 3\npagination: true\n---\n\n```\n## Cover Image for Blog Home Page\n\nGo to the `your/site/user/pages/01.blog/default.md` file and add this line:\n\n    cover: header.jpg\n\n## Cover Images for Posts\n\nIf you want to add cover images to your pages or posts add `image: covername.jpg` to your markdown file. Like so:\n\n```\n---\ntitle: 'Tooling: Grunt'\nimage: yourimagefile.png\n---\nLorem ipsum your post....\n```\n\n## Language\n\nEnglish, German and French languages are supported out of the box. If you want to add your language, edit the `languages.yaml` file. And don't forget to send a Pull Request :)\n\n\n# Updating\n\nAs development for the Masonry theme continues, new versions may become available that add additional features and functionality, improve compatibility with newer Grav releases, and generally provide a better user experience. Updating Masonry is easy, and can be done through Grav's GPM system, as well as manually.\n\n## GPM Update (Preferred)\n\nThe simplest way to update this theme is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:\n\n    bin/gpm update masonry\n\nThis command will check your Grav install to see if your Masonry theme is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type `y` and hit enter. The theme will automatically update and clear Grav's cache.\n\n## Manual Update\n\nManually updating Masonry is pretty simple. Here is what you will need to do to get this done:\n\n* Delete the `your/site/user/themes/masonry` directory.\n* Downalod the new version of the Masonry theme from either [GitHub](https://github.com/koca/grav-theme-masonry) or [GetGrav.org](http://getgrav.org/downloads/themes#extras).\n* Unzip the zip file in `your/site/user/themes` and rename the resulting folder to `masonry`.\n* Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in terminal and typing `bin/grav clear-cache`.\n\n\u003e Note: Any changes you have made to any of the files listed under this directory will also be removed and replaced by the new set. Any files located elsewhere (for example a YAML settings file placed in `user/config/themes`) will remain intact.\n\n# Setup\n\nIf you want to set Masonry as the default theme, you can do so by following these steps:\n\n* Navigate to `/your/site/grav/user/config`.\n* Open the **system.yaml** file.\n* Change the `theme:` setting to `theme: masonry`.\n* Save your changes.\n* Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in Terminal and typing `bin/grav clear-cache`.\n\nOnce this is done, you should be able to see the new theme on the frontend. Keep in mind any customizations made to the previous theme will not be reflected as all of the theme and templating information is now being pulled from the **Masonry** folder.\n\n---\n\n## License\n\nThis theme is free and open source software, distributed under the [MIT License](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoca%2Fgrav-theme-masonry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoca%2Fgrav-theme-masonry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoca%2Fgrav-theme-masonry/lists"}