From 1da07b0b4a337342cc48627d9af78e7fd20a45cf Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 14 Jun 2025 22:49:26 +0800 Subject: www: move layout files for new version of hugo and fix nested shortcodes. --- www/layouts/index.html | 78 -------------------------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 www/layouts/index.html (limited to 'www/layouts/index.html') diff --git a/www/layouts/index.html b/www/layouts/index.html deleted file mode 100644 index af3e11d..0000000 --- a/www/layouts/index.html +++ /dev/null @@ -1,78 +0,0 @@ -{{ define "head"}} - {{ partial "css.html" "res/css/home.css" }} - {{ partial "css.html" "res/css/article.css" }} -{{ end }} - -{{ define "friend" }} - {{ $gh_url := printf "https://github.com/%s" .github}} -
- - Friend {{.name}}'s avatar
{{.name}}
- - {{- with resources.Get "res/img/gh.png" -}} - - {{- end -}} -
- {{ if .tag }} - {{ .tag }} - {{ end }} -
-{{ end }} - -{{ define "content"}} - My avatar -

Hello! This is crupest !

-
-
-

Welcome to my home page! Nice to meet you here! 🥰

-

Feel free to contact me via my email address crupest@crupest.life, - or just create an issue in any of my GitHub - repos. I love talking with people a lot.

- -
-
- {{ with .GetPage "/posts" }} -
-

Recent Posts (all)

- {{ partial "preview/posts.html" (dict - "h" "h3" - "pages" (.RegularPages.ByDate.Reverse.Limit 3)) - }} -
- {{ end }} -
-
-

My Friends (more links are being collected ...)

-
- {{ block "friend" dict - "name" "wsm" - "avatar" "https://avatars.githubusercontent.com/u/74699943?v=4" - "github" "wushuming666" - }} - {{ end }} - {{ block "friend" dict - "name" "hsz" - "url" "https://www.hszsoft.com" - "avatar" "https://avatars.githubusercontent.com/u/63097618?v=4" - "github" "hszSoft" - "tag" "随性の程序员" - }} - {{ end }} -
-
-{{ end }} -- cgit v1.2.3