forked from 00dani/lemoncurry
Migrate to Font Awesome 5 - every icon used in the site has been updated, but the site icons that live in the database will need fixing separately
This commit is contained in:
parent
bb18194b56
commit
6d912de376
7 changed files with 20 additions and 20 deletions
|
@ -25,41 +25,41 @@ class Entry:
|
|||
|
||||
Note = Entry(
|
||||
id='note',
|
||||
icon='fa fa-paper-plane',
|
||||
icon='fas fa-paper-plane',
|
||||
plural='notes',
|
||||
)
|
||||
|
||||
|
||||
Article = Entry(
|
||||
id='article',
|
||||
icon='fa fa-file-text',
|
||||
icon='fas fa-file-alt',
|
||||
plural='articles',
|
||||
slug=True,
|
||||
)
|
||||
|
||||
Photo = Entry(
|
||||
id='photo',
|
||||
icon='fa fa-camera',
|
||||
icon='fas fa-camera',
|
||||
plural='photos',
|
||||
)
|
||||
|
||||
Reply = Entry(
|
||||
id='reply',
|
||||
icon='fa fa-comment',
|
||||
icon='fas fa-comment',
|
||||
plural='replies',
|
||||
on_home=False,
|
||||
)
|
||||
|
||||
Like = Entry(
|
||||
id='like',
|
||||
icon='fa fa-heart',
|
||||
icon='fas fa-heart',
|
||||
plural='likes',
|
||||
on_home=False,
|
||||
)
|
||||
|
||||
Repost = Entry(
|
||||
id='repost',
|
||||
icon='fa fa-retweet',
|
||||
icon='fas fa-retweet',
|
||||
plural='reposts',
|
||||
)
|
||||
|
||||
|
|
|
@ -25,17 +25,17 @@
|
|||
</a>
|
||||
<a class="u-uid u-url" href="{{ entry.url }}">
|
||||
<time class="dt-published" datetime="{{ entry.published.isoformat }}">
|
||||
<i class="fa fa-calendar"></i>
|
||||
<i class="fas fa-calendar"></i>
|
||||
{{ entry.published | naturaltime }}
|
||||
</time>
|
||||
</a>
|
||||
{% if entry.updated != entry.published %}
|
||||
<time class="dt-updated" datetime="{{ entry.updated.isoformat }}">
|
||||
<i class="fa fa-pencil"></i>
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
{{ entry.updated | naturaltime }}
|
||||
</time>
|
||||
{% shortlink entry as short %}<a class="u-url" href="{{ short }}">
|
||||
<i class="fa fa-link"></i>
|
||||
<i class="fas fa-link"></i>
|
||||
{{ short | friendly_url }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
@ -45,7 +45,7 @@
|
|||
<div class="card-footer">
|
||||
{% for c in entry.cats.all %}
|
||||
<a class="p-category" href="{{ c.url }}">
|
||||
<i class="fa fa-paw"></i>
|
||||
<i class="fas fa-paw"></i>
|
||||
{{ c.name }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue