docs: add link to daily emails page

This commit is contained in:
Oliver Davies 2022-08-24 23:40:58 +01:00
parent ed9eb09715
commit 1046783156

View file

@ -1,6 +1,9 @@
---
title: Links
links:
-
title: My daily email list
url: '/daily'
-
title: Twitter
url: '%site.twitter.url%'
@ -30,16 +33,12 @@ links:
url: https://www.phpsouthwales.uk
---
<div class="max-w-md mx-auto">
<ul class="p-0 list-none space-y-4">
<div class="mx-auto max-w-md">
<ul class="p-0 space-y-4 list-none">
{% for link in page.links %}
<li>
<a
class="
w-full p-2 block border text-center no-underline text-black transition ease-in-out duration-200
hover:text-white hover:bg-blue-primary focus:text-white focus:bg-blue-primary
dark:text-white dark:hover:text-black dark:focus:text-black dark:hover:bg-white dark:focus:bg-white
"
class="block p-2 w-full text-center text-black no-underline border transition duration-200 ease-in-out dark:text-white hover:text-white focus:text-white dark:hover:text-black dark:focus:text-black dark:hover:bg-white dark:focus:bg-white hover:bg-blue-primary focus:bg-blue-primary"
href="{{ link.url }}?utm_source=oliverdavies.uk&utm_medium=links"
>
{{ link.title }}