Move anchors to right of title

This commit is contained in:
timvisee 2019-07-04 13:33:28 +02:00
parent 55b6ab16d6
commit 0d28257e72
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ title = "Blog"
sort_by = "date"
paginate_by = 5
insert_anchor_links = "left"
insert_anchor_links = "right"
template = "index.html"
+++

View File

@ -146,7 +146,7 @@ sidebar .tag {
opacity: 0;
font-size: 1rem;
position: absolute;
margin: 0.5rem 0 0 -1.5rem;
margin: 0.5rem 0.5rem 0;
}
*:hover > .anchor,

View File

@ -61,13 +61,13 @@
{% if section.title %}
<header>
<h1>
{% include "anchor-link.html" %}
{{ section.title }}
{% if paginator %}
{% if paginator.current_index > 1 %}
&nbsp;&middot;&nbsp; Page {{ paginator.current_index }}
{% endif %}
{% endif %}
{% include "anchor-link.html" %}
</h1>
{% if not section.extra.zenn_hide_header_meta %}
@ -78,8 +78,8 @@
{% if page.title %}
<header>
<h1>
{% include "anchor-link.html" %}
{{ page.title }}
{% include "anchor-link.html" %}
</h1>
{% if not page.extra.zenn_hide_header_meta %}