Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbelyaeff/cogear-theme-blog
Blog theme for Cogear.JS.
https://github.com/dbelyaeff/cogear-theme-blog
Last synced: about 2 months ago
JSON representation
Blog theme for Cogear.JS.
- Host: GitHub
- URL: https://github.com/dbelyaeff/cogear-theme-blog
- Owner: dbelyaeff
- Created: 2018-09-04T19:19:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T19:42:56.000Z (over 5 years ago)
- Last Synced: 2024-03-31T06:06:46.692Z (6 months ago)
- Language: CSS
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cogear.JS theme **blog**
![screenshot](https://github.com/codemotion/cogear-theme-blog/raw/master/screenshot.jpg)
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`](https://github.com/codemotion/cogear-plugin-blog) to use this theme.
Go to the site folder and install theme with command:
```bash
yarn add cogear-theme-blog
# or
npm install cogear-theme-blog
```After that you need to edit your site `config.yaml` to set up installed theme.
```yaml
theme: blog
```# Configuration
Use `cogear-plugin-blog` options in `./config.yaml`:
``` 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.org
```
# UsageYou may also want to install in with [`cogear-preset-blog`](https://github.com/codemotion/cogear-preset-blog).
# Docs
More info: [https://cogearjs.org/docs/themes](https://cogearjs.org/docs/themes).