Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtslvr/cogear-theme-ejs-bootstrap-blog
Cogear.JS blog theme with bootstrap in ejs
https://github.com/dtslvr/cogear-theme-ejs-bootstrap-blog
blog bootstrap bootstrap4 cogear ejs static-site
Last synced: 25 days ago
JSON representation
Cogear.JS blog theme with bootstrap in ejs
- Host: GitHub
- URL: https://github.com/dtslvr/cogear-theme-ejs-bootstrap-blog
- Owner: dtslvr
- Created: 2019-03-03T17:15:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T09:34:08.000Z (over 5 years ago)
- Last Synced: 2024-10-04T11:22:36.254Z (about 1 month ago)
- Topics: blog, bootstrap, bootstrap4, cogear, ejs, static-site
- Language: HTML
- Size: 136 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrap Blog Theme in ejs for Cogear.JS
This is a simple theme with blog posts on the home page and a responsive design based on [Bootstrap](https://getbootstrap.com) v4. Tags support and pagination.
![screenshot](https://github.com/dtslvr/cogear-theme-ejs-bootstrap-blog/raw/master/screenshot.png)
# Installation
## Preset
There is a ready to use blog preset for the `ejs-bootstrap-blog` theme. Just clone the [repository](https://github.com/dtslvr/cogear-preset-ejs-bootstrap-blog), install the dependencies and run the project.
## Manual Installation
Install [`cogear-plugin-blog`](https://github.com/codemotion/cogear-plugin-blog) first to use this theme.
Go to the site folder and install the theme:
``` shell
> npm install cogear-theme-ejs-bootstrap-blog
```or
``` shell
> yarn add cogear-theme-ejs-bootstrap-blog
```After that, edit your site's `./config.yaml` to set up the installed theme.
```yaml
theme: ejs-bootstrap-blog
```# Configuration
Use `cogear-plugin-blog` options in `./config.yaml`:
``` yaml
title: Blog | Cogear.JS – modern static websites generator
description:
keywords:
theme: ejs-bootstrap-blog
blog:
index: ""
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
```# Further reading
Find more information in the official [Cogear.JS](https://cogearjs.org) documentation: https://cogearjs.org/docs