2021-04-24

Usage

#pico #Usage

UsageTop

This theme provides 4 templates (twig) :

  • index : the left part of the homepage
  • single : all articles
  • simple : all other pages
  • tags : list of article by tag

IndexTop

It is mandatory to have a index.md in your content directory. It will appear on the left side of the homepage.

ArticleTop

---
Template: single --> template for article
comments: true --> to allow comment, false to dissalow
Date: 2019-01-05 
title: Title of my article
Tags: projet,latex --> comma separated value (no space)
---

Other pagesTop

You can also have other pages than index and articles by creating a markdown file in your content directory with the simple template.

---
title: The title of my page
Template: simple
---

Social network linksTop

You can add 3 links (with logo) to social networks (twitter, LinkedIn and github) below the #tag list. Add this to your config.yml

linkedin: https://my_linkedIn_url
twitter: https://my_twitter_url
github: https://my_github_url

Write a comment

0 comments