Skip to content

Commit

Permalink
feat: add tag index page
Browse files Browse the repository at this point in the history
  • Loading branch information
MDLeom committed Aug 9, 2020
1 parent 97d59bb commit a852f0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Expand Up @@ -24,6 +24,8 @@ pretty_urls:
source_dir: source
public_dir: public
tag_dir: tags
tag_generator:
enable_index_page: true
archive_dir: blog
category_dir: categories
code_dir: ''
Expand Down
10 changes: 10 additions & 0 deletions themes/chameleon/layout/tag-index.ejs
@@ -0,0 +1,10 @@
<div class="archive-container">
<%- partial('_partial/header', {}, { cache: true }) %>
<hr class="header-hr"/>
<h2>Tags:</h2>
<%- list_tags({
amount: 0,
class: 'index',
transform: titlecase
}) %>
</div>

0 comments on commit a852f0e

Please sign in to comment.