diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin-edit.html | 2 | ||||
-rw-r--r-- | templates/admin.html | 2 | ||||
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/layout.html | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/templates/admin-edit.html b/templates/admin-edit.html index d4c9196..972c2c7 100644 --- a/templates/admin-edit.html +++ b/templates/admin-edit.html @@ -30,7 +30,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/admin.html b/templates/admin.html index fb3a3d2..2226a83 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -45,7 +45,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/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..9afe143 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 { margin-right: 1rem; } div.action { padding-bottom: 1em; margin-left: 1em; } span.doi a { text-decoration: none; } span.title a { text-decoration: underline; color: blue; } |