From 0cd54ea5a631283911a816357f0ff9f0d2e3bae5 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Fri, 30 Oct 2026 03:36:45 +0800 Subject: Improve GNU image links layout --- content/links/_index.md | 7 ++++--- content/links/philosophical-gnu-sm.png | Bin 0 -> 8632 bytes hugo.toml | 2 ++ layouts/links/list.html | 2 +- static/style.css | 25 +++++++++++++++++++++++++ 5 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 content/links/philosophical-gnu-sm.png diff --git a/content/links/_index.md b/content/links/_index.md index 5397bbb..5405ec4 100644 --- a/content/links/_index.md +++ b/content/links/_index.md @@ -10,12 +10,13 @@ license: CC-BY-SA-4.0 [Free Software Foundation](https://www.fsf.org/) promotes computer user freedom and supports the worldwide free software movement. -[![GNU](gnu-head-sm.png)](https://www.gnu.org/ "The GNU Project") + [GNU Project](https://www.gnu.org/) develops the GNU operating system and publishes resources about free software. -GNU head © 1992 Etienne Suvasa, [CC BY-SA 2.0](https://creativecommons.org/licenses/by-sa/2.0/). [Image source](https://www.gnu.org/graphics/agnuhead.html). - [Richard Stallman's personal site](https://stallman.org/) collects his writing, talks, and current notes. ## Friends diff --git a/content/links/philosophical-gnu-sm.png b/content/links/philosophical-gnu-sm.png new file mode 100644 index 0000000..ee4047e Binary files /dev/null and b/content/links/philosophical-gnu-sm.png differ diff --git a/hugo.toml b/hugo.toml index e6a87b8..47a28b0 100644 --- a/hugo.toml +++ b/hugo.toml @@ -44,6 +44,8 @@ enableRobotsTXT = false [markup.goldmark.extensions.passthrough.delimiters] block = [['$$', '$$']] inline = [['$', '$']] + [markup.goldmark.renderer] + unsafe = true [markup.highlight] codeFences = false guessSyntax = false diff --git a/layouts/links/list.html b/layouts/links/list.html index 752538b..70166a3 100644 --- a/layouts/links/list.html +++ b/layouts/links/list.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+