Provide simple support for fetching entries in AMP format - can't handle images yet and needs some other tweaks, but works nicely so far c:
This commit is contained in:
parent
3e4f55fa9c
commit
40ead1bbe1
9 changed files with 131 additions and 1 deletions
|
@ -35,6 +35,10 @@
|
|||
{{ entry.updated | naturaltime }}
|
||||
</time>
|
||||
{% endif %}
|
||||
<a class="u-url" href="{{ entry.amp_url }}">
|
||||
<i class="fas fa-bolt"></i>
|
||||
amp
|
||||
</a>
|
||||
{% shortlink entry as short %}<a class="u-url" href="{{ short }}">
|
||||
<i class="fas fa-link"></i>
|
||||
{{ short | friendly_url }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue