diff options
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/layout.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 861410d..727e727 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@ <div class="cat-cont"> <div class="cat"> {{ range $category, $paper := .Papers.List }} - <span class="cat">[<a href="#{{ $category }}">{{ $category }}</a>]</span> + <span class="cat"><a href="#{{ $category }}">{{ $category }}</a></span> {{ end }} </div> </div> diff --git a/templates/layout.html b/templates/layout.html index a4c648f..b69ee49 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -30,6 +30,7 @@ a.permalink { color: var(--ansi3); text-decoration: none; } div.paper { padding-bottom: 1em; } div.cat-cont { } div.cat { justify-content: space-between; display: flex; flex-wrap: wrap; } +div.cat a { padding: 0rem 1rem 1rem 0rem; } div.action { padding-bottom: 1em; margin-left: 1em; } span.doi a { text-decoration: none; } span.title a { text-decoration: underline; color: blue; } |