Browse Source

fix categories and tags and update style

master
jk 5 years ago
parent
commit
7efb74427f
  1. 2
      config.toml
  2. 2
      themes/anatole/layouts/_default/list.html
  3. 10
      themes/anatole/static/css/style.css

2
config.toml

@ -27,6 +27,8 @@ enableEmoji=true
[taxonomies]
blog = "blog"
image = "image"
tag = "tags"
category = "categories"
[params]
title = "J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿"

2
themes/anatole/layouts/_default/list.html

@ -1,6 +1,6 @@
{{ define "main" }}
<div class="archive animated fadeInDown">
<div class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}</div>
<div class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}All Blogs{{ end }}<a href="{{ .Permalink }}/index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></div>
<ul class="list-with-title">
{{ range .Data.Pages.GroupByDate "2006" }}
<div class="listing-title">{{ .Key }}</div>

10
themes/anatole/static/css/style.css

@ -497,6 +497,16 @@ a:hover, a:active {
width: 80%;
}
.list-title {
font-size: 30px;
font-weight:bold;
margin:30px;
color: #666666;
}
.list-title i{
font-size: 20px;
vertical-align:middle;
}
.list-with-title {
font-size: 14px;
margin: 30px;