mirror of https://gitlab.com/curben/blog
feat: add tag index page
- https://github.com/hexojs/hexo-generator-tag/pull/44
This commit is contained in:
parent
97d59bb2c7
commit
a852f0e8ce
|
@ -24,6 +24,8 @@ pretty_urls:
|
||||||
source_dir: source
|
source_dir: source
|
||||||
public_dir: public
|
public_dir: public
|
||||||
tag_dir: tags
|
tag_dir: tags
|
||||||
|
tag_generator:
|
||||||
|
enable_index_page: true
|
||||||
archive_dir: blog
|
archive_dir: blog
|
||||||
category_dir: categories
|
category_dir: categories
|
||||||
code_dir: ''
|
code_dir: ''
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue