fix: be less clever
This commit is contained in:
parent
d42ba7439c
commit
9d372b4490
5 changed files with 22 additions and 70 deletions
|
@ -8,9 +8,9 @@
|
|||
"items": [{% for entry in entries limit: 20 -%}
|
||||
{
|
||||
"id": "{{ entry.url | btoa }}",
|
||||
"title": "{{ entry.title | escape }}{% if tagMap %} {{ entry.url | tagLookup: tagMap }}{% endif %}",
|
||||
"title": "{{ entry.title | escape }}",
|
||||
"url": "{{ entry.url }}",
|
||||
"content_text": "{{ entry.title | escape }}{% if tagMap %} {{ entry.url | tagLookup: tagMap }}{% endif %}",
|
||||
"content_text": "{{ entry.title | escape }}{% if tagMap %} {{ entry.url | tagLookup: tagMap }}{% endif %} {{ entry.url }}",
|
||||
"date_published": "{{ entry.date | stringToDate | dateToRfc822 }}"
|
||||
}{% if not forloop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{% if links.size > 0 %}
|
||||
{% assign data = links | reverse %}
|
||||
<h2 class="icon--bold m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4 icon--28">
|
||||
{% tablericon "link" "Links" %}
|
||||
<div class="ml-1">Links</div>
|
||||
</h2>
|
||||
<ul class="list-inside list-disc pl-5 md:pl-10">
|
||||
{% for link in links limit: 5 %}
|
||||
{% for link in data limit: 5 %}
|
||||
<li class="mt-1.5 mb-2">
|
||||
<a href="{{link.url}}" title="{{link.title | escape}}">
|
||||
{{ link.title }}
|
||||
|
|
Reference in a new issue