Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhoukekestar/jekyll-template
Template for Blog based on jekyll
https://github.com/zhoukekestar/jekyll-template
Last synced: about 5 hours ago
JSON representation
Template for Blog based on jekyll
- Host: GitHub
- URL: https://github.com/zhoukekestar/jekyll-template
- Owner: zhoukekestar
- License: mit
- Created: 2017-06-22T02:24:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T12:05:49.000Z (over 3 years ago)
- Last Synced: 2024-03-18T22:20:54.136Z (8 months ago)
- Language: CSS
- Homepage: https://zhoukekestar.github.io/jekyll-template/
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jekyll-template
Template for Blog based on jekyll# How-to
* Base Config: `_config.yml````
title: your title
email: your email
description: >
your description
baseurl: "/jekyll-template" # the subpath of your site, e.g. /blog
url: "https://zhoukekestar.github.io" # the base hostname & protocol for your site
twitter_username: zhoukekestar
github_username: zhoukekestar# paging
paginate: 10
paginate_path: "/page:num/"# Build settings
markdown: kramdown
theme: minima
kramdown:
input: GFM
```* Your blog header: `_includes/header.html`
```html
```* Your post comments: `_layouts/post.html`
```js
// fetch your own comments
fetch('https://api.github.com/repos/zhoukekestar/jekyll-template/issues/{{page.commentIssueId}}/comments', {
headers: {
Accept: "application/vnd.github.full+json"
}
}).then(function (response) {
return response.json();
}).then(function (body) {
loadComments(body);
})
```* Your custom style: `css/main.scss`
```css
.abc {
/* your custom style */
}
```