Move anchors to right of title
This commit is contained in:
parent
55b6ab16d6
commit
0d28257e72
|
@ -3,7 +3,7 @@ title = "Blog"
|
|||
|
||||
sort_by = "date"
|
||||
paginate_by = 5
|
||||
insert_anchor_links = "left"
|
||||
insert_anchor_links = "right"
|
||||
|
||||
template = "index.html"
|
||||
+++
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -61,13 +61,13 @@
|
|||
{% if section.title %}
|
||||
<header>
|
||||
<h1>
|
||||
{% include "anchor-link.html" %}
|
||||
{{ section.title }}
|
||||
{% if paginator %}
|
||||
{% if paginator.current_index > 1 %}
|
||||
· 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 %}
|
||||
|
|
Loading…
Reference in New Issue