1.0.0 • Published 7 years ago
cogear-theme-blog v1.0.0
Cogear.JS theme blog

Theme with blog posts on the home page.
Simple responsive design. Posts tags support with navigation and pagination.
Installation
You need to install cogear-plugin-blog to use this theme.
Go to the site folder and install theme with command:
yarn add cogear-theme-blog
# or
npm install cogear-theme-blogAfter that you need to edit your site config.yaml to set up installed theme.
theme: blogConfiguration
Use cogear-plugin-blog options in ./config.yaml:
title: Blog | Cogear.JS – modern static websites generator
description:
keywords:
theme: blog
blog:
index: "" # Provide posts to index page
regex: "^p/"
tagUri: 'tag'
perPage: 5
pages:
^p/:
layout: post
author:
login: User
avatar: 'https://www.gravatar.com/avatar/400caf343d3bab57ab93f63e21a12be7?s=24'
link: https://cogearjs.orgUsage
You may also want to install in with cogear-preset-blog.
Docs
More info: https://cogearjs.org/docs/themes.
1.0.0
7 years ago