add: "all" timeline
add: only show most popular posts from the past week
This commit is contained in:
parent
fc9c0f294e
commit
24f67221ca
13 changed files with 143 additions and 27 deletions
|
@ -163,19 +163,24 @@
|
|||
<span>{{ text "general:link.home" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/popular" class="{% if selected == 'popular' %}active{% endif %}">
|
||||
{{ icon "trending-up" }}
|
||||
<span>{{ text "general:link.popular" }}</span>
|
||||
</a>
|
||||
|
||||
{% if user %}
|
||||
<a
|
||||
href="/following"
|
||||
class="{% if selected == 'following' %}active{% endif %}"
|
||||
>
|
||||
{{ icon "earth" }}
|
||||
{{ icon "rss" }}
|
||||
<span>{{ text "general:link.following" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="/popular" class="{% if selected == 'popular' %}active{% endif %}">
|
||||
{{ icon "trending-up" }}
|
||||
<span>{{ text "general:link.popular" }}</span>
|
||||
<a href="/all" class="{% if selected == 'all' %}active{% endif %}">
|
||||
{{ icon "earth" }}
|
||||
<span>{{ text "general:link.all" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{%- endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue