diff --git a/package.json b/package.json index b7e9ea8c..65954434 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "5.9.6", + "version": "6.0.0", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "type": "module", "scripts": { diff --git a/src/assets/styles/pages/links.css b/src/assets/styles/pages/links.css new file mode 100644 index 00000000..ff994dac --- /dev/null +++ b/src/assets/styles/pages/links.css @@ -0,0 +1,4 @@ +.link__list { + padding-left: 0; + margin-bottom: 2rem; +} \ No newline at end of file diff --git a/src/links.html b/src/links.html index 9cec61a2..20999746 100644 --- a/src/links.html +++ b/src/links.html @@ -3,34 +3,19 @@ title: Links layout: default pagination: data: links - size: 8 + size: 30 image: /assets/img/ogi/links.jpg --- -{% for link in pagination.items %} -{%- assign shareLink = link.url | findPost: linkPosts -%} -
- -

{{ link.title }}

-
- {%- if link.author and link.author != 'undefined' %} - - {% endif -%} -
- - {%- if shareLink %} - - {% tablericon "brand-mastodon" "Mastodon post" %} - - {% endif -%} -
-
{{ link.summary }}
- {%- if link.note %} -

{{ link.note | markdown }}

- {% endif -%} -
-{% endfor %} +{% capture css %} + {% render "./assets/styles/pages/links.css" %} +{% endcapture %} + + {% render "partials/paginator.liquid", pagination:pagination %} \ No newline at end of file