💼Portfolio

If you are a creator and have a portfolio, you can benefit from the custom Portfolio template provided by FineBits. This unique template utilizes the current Tags system, but with some adjustments, it highlights the projects you wish to showcase.

To set up the custom portfolio template, follow these steps:

  1. From the Ghost Admin, navigate to Tags and create a new tag called "portfolio".

  2. Optionally, include a description and a tag image to showcase at the top of your portfolio.

  3. After clicking Save to create the portfolio tag, go to Settings → Labs and select the Download current routes link.

  4. After downloading the routes.yaml file, open it in your preferred text editor. The default contents will resemble the following:

routes:

collections:
  /:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/
  1. To prevent the portfolio entries from displaying on your homepage, update the route.yaml file as shown below:

routes:

collections:
  /:
    permalink: /{slug}/
    template: index
    filter: tag:-portfolio
  /portfolio/:
    permalink: /portfolio/{slug}/
    filter: primary_tag:portfolio
    template: portfolio
    data: tag.portfolio

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/
  1. Save your changes, then navigate to the Ghost admin and choose Upload routes file to upload the recently edited file.

  2. You can now publish your portfolio entries just like regular posts. By tagging them with portfolio, they will exclusively show up on your portfolio page (e.g. https://www.yoursite.com/portfolio/).

Last updated