Remove bullet points from article index lists.

This commit is contained in:
Ethan Dalool 2020-09-02 11:00:35 -07:00
parent 60f3e75d12
commit 18e8cb1efb
2 changed files with 17 additions and 7 deletions

View file

@ -152,6 +152,16 @@ pre,
font-family: monospace; font-family: monospace;
} }
.article_list
{
list-style: none;
padding-inline-start: 0;
}
.article_list > li
{
margin: 0.5em 0;
}
/* /*
Thank yourichleland for pre-building this Monokai style. Thank yourichleland for pre-building this Monokai style.
https://github.com/richleland/pygments-css https://github.com/richleland/pygments-css

View file

@ -341,20 +341,20 @@ def make_tag_page(index, path):
{% if articles %} {% if articles %}
<section style="grid-area:articles"> <section style="grid-area:articles">
<h1>{{path}}</h1> <h1>{{path}}</h1>
<ul> <ol class="article_list">
{% for article in articles %} {% for article in articles %}
<li> <li>
<a href="/writing/{{article.web_path}}">{{article.date}} - {{article.title|e}}</a> <a href="/writing/{{article.web_path}}">{{article.date}} - {{article.title|e}}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ol>
</section> </section>
{% endif %} {% endif %}
{% if index.children %} {% if index.children %}
<section style="grid-area:refine"> <section style="grid-area:refine">
<h1>Refine your query</h1> <h1>Refine your query</h1>
<ul> <ul class="article_list">
{% for refine in children %} {% for refine in children %}
<li> <li>
{% if path %} {% if path %}
@ -406,18 +406,18 @@ def write_writing_index():
<body> <body>
<article> <article>
<h1>Writing</h1> <h1>Writing</h1>
<ul> <ol class="article_list">
{% for article in articles %} {% for article in articles %}
<li> <li>
<a href="{{article.web_path}}">{{article.date}} - {{article.title|e}}</a> <a href="{{article.web_path}}">{{article.date}} - {{article.title|e}}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ol>
<p><a href="/writing/rss.xml">RSS</a></p> <p><a href="/writing/rss.xml">RSS</a></p>
<h2>Recently edited</h2> <h2>Recently edited</h2>
<ul> <ol class="article_list">
{% for article in articles_edited %} {% for article in articles_edited %}
{% if article.edited and article.edited != article.date %} {% if article.edited and article.edited != article.date %}
<li> <li>
@ -425,7 +425,7 @@ def write_writing_index():
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ol>
<h2>The footer</h2> <h2>The footer</h2>
<p>I greatly appreciate the time you have taken to visit my page. If you <p>I greatly appreciate the time you have taken to visit my page. If you