Use CSS to add navigation dots
This commit is contained in:
parent
118320ada1
commit
fa56dd138a
2 changed files with 8 additions and 5 deletions
|
@ -15,3 +15,11 @@ footer {
|
||||||
footer > :first-child {
|
footer > :first-child {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav a:not(:first-child):before {
|
||||||
|
content: '\00B7';
|
||||||
|
padding-right: 5px;
|
||||||
|
color: var(--nc-tx-1);
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{% url 'articles-list' %}">Home</a>
|
<a href="{% url 'articles-list' %}">Home</a>
|
||||||
·
|
|
||||||
<a href="{% url 'complete-feed' %}">RSS</a>
|
<a href="{% url 'complete-feed' %}">RSS</a>
|
||||||
·
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<a href="{% url 'admin:articles_article_add' %}">Write</a>
|
<a href="{% url 'admin:articles_article_add' %}">Write</a>
|
||||||
·
|
|
||||||
<a href="{% url 'drafts-list' %}">View drafts <span class="pill">{{ drafts_count }}</span></a>
|
<a href="{% url 'drafts-list' %}">View drafts <span class="pill">{{ drafts_count }}</span></a>
|
||||||
·
|
|
||||||
<a href="{% url 'admin:index' %}">Admin</a>
|
<a href="{% url 'admin:index' %}">Admin</a>
|
||||||
·
|
|
||||||
<a href="{% url 'admin:logout' %}?next={{ request.get_full_path }}">Log out</a>
|
<a href="{% url 'admin:logout' %}?next={{ request.get_full_path }}">Log out</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{% url 'admin:login' %}?next={{ request.get_full_path }}">Log in</a>
|
<a href="{% url 'admin:login' %}?next={{ request.get_full_path }}">Log in</a>
|
||||||
|
|
Reference in a new issue