feat: add dedicated class to hide contents on small-width screens
This commit is contained in:
parent
91224e634a
commit
98e062611e
4 changed files with 17 additions and 15 deletions
|
@ -8,12 +8,9 @@
|
|||
{% set split_post = post.post_path |split('/') %}
|
||||
{% for i in range(0, split_post|length - 1) %}
|
||||
<li>
|
||||
{% if i != 0 %}
|
||||
>
|
||||
{% endif %}
|
||||
{% if i != 0 %}
|
||||
<a href="{{split_post|slice(0,i+1)|join('/')}}">
|
||||
{{ split_post[i] }}
|
||||
> {{ split_post[i] }}
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="/">root</a>
|
||||
|
@ -22,11 +19,11 @@
|
|||
{% endfor %}
|
||||
|
||||
|
||||
<li style="margin-left: auto;">
|
||||
<li class="hsmol_hide" style="margin-left: auto;">
|
||||
<a href="/raw{{post.post_path}}">raw</a>
|
||||
<a href="/api/posts{{post.post_path}}">api</a>
|
||||
</li>
|
||||
<li>
|
||||
<li class="hsmol_hide">
|
||||
<a rel="alternate" type="application/rss+xml" target="_blank"
|
||||
style="padding-left: 0.3rem;" href="/feed/rss{{post.post_path}}">
|
||||
{{ fa['rss']|raw }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue