Portfolio is a simple and minimalistic responsive theme for Grav CMS. It's designed for portfolios and personal webpages.
here.A demo can be found
bin/gpm install portfolio
To install this theme manually download the zip version of this repository and unzip it under
/your/site/grav/user/themes. Then, rename the folder to
You should now have all the theme files under
If you don't use the Admin plugin and you want to set this theme as the default theme, you can do so by following these steps:
- Navigate to
- Open the system.yaml file.
- Change the
- Save your changes.
- Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in Terminal and typing
Once this is done, you should be able to see the new theme on the frontend.
How to create a portfolio page
If you have the admin plugin you can simply create a page with the
portfolio template and add child pages with the
If you don't have the Admin plugin:
- Create a directory in
user/pages, and create a
portfolio.mdfile inside with the following structure:
--- title: Projects <!-- name your page --> child_type: item content: items: '@self.children' order: by: default dir: asc limit: 6 <!-- number of items in page --> pagination: true ---
- For each item in yout portfolio create a directory inside the new directory that you previously created. Add an
item.mdfile with the following structure:
--- title: 'Portfolio Template' <!-- title of your page --> taxonomy: <!-- tags --> category: - Web banner_color: '#ff9100' <!-- banner color used in the theme --> links: <!-- links to resources related to your project --> - title: Github url: 'https://github.com/s6joui/grav-theme-portfolio' --- <!-- File contents in markdown format -->
- To add images simply copy an image file in the item's folder and it will be shown in the page. You may need to clear the
cachefolder for Grav to pick the image.
Finally, your folder structure should look like this: