Permalink
Browse files

Update documentation for tags

  • Loading branch information...
yous committed Dec 27, 2017
1 parent 5823f5a commit 743067e3f0e60b248bd51823abb8807c391eb5f6
Showing with 47 additions and 0 deletions.
  1. +20 −0 README.md
  2. +2 −0 _config.yml
  3. +3 −0 _posts/2017-01-03-super-long-article.md
  4. +22 −0 about.md
@@ -199,6 +199,26 @@ categories:
- Idea
```
### Tag
Each post can have `tags` attribute. It can be a string or an array. This will
be displayed on index, archive and each post, and provide a link to the archive
of tag.
``` yaml
layout: post
title: Awesome Post
tags: food
```
``` yaml
layout: post
title: Another Awesome Post
tags:
- food
- trip
```
### Feed
Create `<your-site>/feed.xml` with:
@@ -67,6 +67,8 @@ kramdown:
jekyll-archives:
enabled:
- categories
- tags
layout: category_archives
permalinks:
category: /categories/:name/
tag: /tags/:name/
@@ -2,6 +2,9 @@
layout: post
title: "Some articles are just so long they deserve a really long title to see if things will break well"
categories: misc
tags:
- lorem
- ipsum
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
@@ -63,9 +63,11 @@ gem install jekyll-whiteglass
jekyll-archives:
enabled:
- categories
- tags
layout: category_archives
permalinks:
category: /categories/:name/
tag: /tags/:name/
```
4. Copy
@@ -195,6 +197,26 @@ categories:
- Idea
```
### Tag
Each post can have `tags` attribute. It can be a string or an array. This will
be displayed on index, archive and each post, and provide a link to the archive
of tag.
``` yaml
layout: post
title: Awesome Post
tags: food
```
``` yaml
layout: post
title: Another Awesome Post
tags:
- food
- trip
```
### Feed
Create `<your-site>/feed.xml` with:

0 comments on commit 743067e

Please sign in to comment.