From 4e7a0c8bde3513a1875c9c49e79ae5ebdf8eaf52 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 1 Feb 2021 22:25:25 -0800 Subject: [PATCH] Link to Merveilles webring! My site's first Webring. I plan to join a few others, and to create three of my own. --- assets/css/dark.css | 2 +- assets/p/merveilles_ring.png | Bin 0 -> 306 bytes assets/p/merveilles_ring.svg | 1 + layouts/index.html | 13 +++++++++++++ layouts/shortcodes/indieweb-author.html | 2 +- layouts/shortcodes/indieweb-icon.html | 2 +- 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 assets/p/merveilles_ring.png create mode 100644 assets/p/merveilles_ring.svg diff --git a/assets/css/dark.css b/assets/css/dark.css index a54d354..9be52b1 100644 --- a/assets/css/dark.css +++ b/assets/css/dark.css @@ -5,7 +5,7 @@ } /* IndieWeb u-photo should be distinct from the background */ - .u-photo { + .dark-invert { -webkit-filter: invert(100%); filter: invert(100%); } diff --git a/assets/p/merveilles_ring.png b/assets/p/merveilles_ring.png new file mode 100644 index 0000000000000000000000000000000000000000..7546e7b7cb186d036a66a4d2ad4e98c8a83ab14c GIT binary patch literal 306 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfvl>na*SN8%RAQL}e)4p^PsDh^? z$S;^dsQs(cg8%zeBkvc8Y?qh`6yNCS;uuoFn7lwuz~M3X%mth+OBZvREcbN~P4J5D zSe6ngH0!{YCu}Kt) z1@)fHl?Ha~Es|{JEw;MMkA!A4NV^>1)!U$>E9|oJAj^)+XEq&pv_U|?kDJ-Dk@MY^ z4La+#=&<)~*urYy9V~Iy!OuT#YgQ=pjY~`mv==g{99Y4lQht!tK`CKTpa9DX;iU{r WmIfv>FaD4QdE3*~&t;ucLK6T^*j*<8 literal 0 HcmV?d00001 diff --git a/assets/p/merveilles_ring.svg b/assets/p/merveilles_ring.svg new file mode 100644 index 0000000..b6bf83c --- /dev/null +++ b/assets/p/merveilles_ring.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 859b9b8..a74cfaf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,17 @@ {{ define "main" }} {{ .Content }} {{- partial "posts.html" . -}} + +{{- $merveilles_svg := resources.GetMatch (printf "/p/merveilles_ring.svg") -}} +{{ $merveilles_png := resources.GetMatch (printf "/p/merveilles_ring.png") -}} + + {{ $merveilles_svg_src := $merveilles_svg | resources.Fingerprint "md5" -}} + + {{ $merveilles_png_src := $merveilles_png | resources.Fingerprint "md5" -}} + Merevilles logo + {{ end }} diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index 8bd7850..2209cf4 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -1,3 +1,3 @@ {{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} - + diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html index 89add8b..5ccf6fd 100644 --- a/layouts/shortcodes/indieweb-icon.html +++ b/layouts/shortcodes/indieweb-icon.html @@ -1,3 +1,3 @@ {{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} -Rohan Kumar +Rohan Kumar