From 8070ecd09f3f57f171d1875acbf2bd0d8f86746b Mon Sep 17 00:00:00 2001 From: juju2143 Date: Mon, 19 Jun 2023 12:19:42 -0400 Subject: [PATCH] update --- content/en/docs/7granddad.md | 11 ++++++++++ content/en/docs/readme.md | 12 +++++++++++ hugo.toml | 27 +++++++++++++++++++------ themes/a39/layouts/_default/baseof.html | 12 ++++++++--- themes/a39/layouts/docs/list.html | 26 ++++++++++++++++++++++++ themes/a39/layouts/docs/single.html | 16 +++++++++++++++ themes/a39/layouts/index.html | 3 +++ themes/a39/layouts/projects/list.html | 8 ++++++++ themes/a39/static/css/styles.css | 18 +++++++++++++++++ 9 files changed, 124 insertions(+), 9 deletions(-) create mode 100644 content/en/docs/7granddad.md create mode 100644 content/en/docs/readme.md create mode 100644 themes/a39/layouts/docs/list.html create mode 100644 themes/a39/layouts/docs/single.html diff --git a/content/en/docs/7granddad.md b/content/en/docs/7granddad.md new file mode 100644 index 0000000..ef01811 --- /dev/null +++ b/content/en/docs/7granddad.md @@ -0,0 +1,11 @@ ++++ +title = "7 GRAND DAD.nes" +slug = "7granddad" +description = "interact with the page to enable sound - use arrows/a/s/esc/enter to play" +date = "2023-06-14" +link = "https://7grand.dad/" +icon = "https://win98icons.alexmeub.com/icons/png/game_solitaire-0.png" +icon16 = "https://win98icons.alexmeub.com/icons/png/game_solitaire-1.png" +ispage = true ++++ + \ No newline at end of file diff --git a/content/en/docs/readme.md b/content/en/docs/readme.md new file mode 100644 index 0000000..723927e --- /dev/null +++ b/content/en/docs/readme.md @@ -0,0 +1,12 @@ ++++ +title = "README.md" +slug = "readme" +description = "text file" +date = "2023-06-19" +icon = "https://win98icons.alexmeub.com/icons/png/notepad_file-0.png" +icon16 = "https://win98icons.alexmeub.com/icons/png/notepad_file-1.png" ++++ + +## c:\a39\docs + +This folder contains a collection of fun toys, notes and other random BS I made (or not). Have fun. \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index cc91fbd..ed888d9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -17,6 +17,9 @@ disqusShortname = "juju2143" weight = 2 contentDir = "content/fr" +[markup.goldmark.renderer] + unsafe = true + [[menu.main]] name = "Home" pre = "https://www.opencode.net/nestoris/Win98SE/-/raw/main/SE98/actions/32/go-home.png" @@ -37,21 +40,26 @@ disqusShortname = "juju2143" pre = "https://win98icons.alexmeub.com/icons/png/newspaper.png" pageRef = "/blog" weight = 4 +[[menu.main]] + name = "Documents" + pre = "https://win98icons.alexmeub.com/icons/png/directory_open_file_mydocs-1.png" + pageRef = "/docs" + weight = 5 [[menu.main]] name = "Forums" pre = "https://win98icons.alexmeub.com/icons/png/network_normal_two_pcs-0.png" url = "https://codewalr.us" - weight = 5 + weight = 6 [[menu.main]] name = "Contact" pre = "https://win98icons.alexmeub.com/icons/png/message_envelope_open-0.png" pageRef = "/contact" - weight = 6 + weight = 7 [[menu.main]] name = "Français" pre = "https://win98icons.alexmeub.com/icons/png/globe_map-5.png" pageRef = "/fr" - weight = 7 + weight = 8 [[menu.social]] name = "Mastodon" @@ -73,6 +81,7 @@ disqusShortname = "juju2143" pre = "las la-envelope-open" url = "mailto:info@a39.ca" weight = 4 + [[menu.buttons]] name = "a39 studios" pre = "img/buttons/a39.png" @@ -93,18 +102,24 @@ disqusShortname = "juju2143" pre = "img/buttons/hl98.png" url = "https://yukiis.moe" weight = 4 + [[menu.friends]] name = "DJ Omnimaga Music" pre = "/img/buttons/djomni.png" url = "https://djomnimaga.music-2000.com/" - weight = 0 + weight = 1 [[menu.friends]] name = "Ezio's website" pre = "/img/buttons/ezio.png" url = "https://reimu.info/" - weight = 1 + weight = 2 [[menu.friends]] name = "mjdxp's website" pre = "/img/buttons/mjdxp.png" url = "https://mjdxp.neocities.org/" - weight = 2 \ No newline at end of file + weight = 3 +[[menu.friends]] + name = "silk.ms" + pre = "https://silk.ms/button.gif" + url = "https://silk.ms/" + weight = 4 \ No newline at end of file diff --git a/themes/a39/layouts/_default/baseof.html b/themes/a39/layouts/_default/baseof.html index 1e7d937..850e13f 100644 --- a/themes/a39/layouts/_default/baseof.html +++ b/themes/a39/layouts/_default/baseof.html @@ -9,13 +9,19 @@ {{ block "title" . }}{{ .Site.Title }}{{ end }}
- + {{ block "controls" . }} + {{ with .Params.link }} + + {{ end }} + {{ with .Parent }} + + {{ end }} + {{ end }}
{{ partial "menu" . }} - {{- block "main" . }}{{- end }} - + {{- block "main" . }}{{- end }}

{{ block "status" . }}{{ end }}

diff --git a/themes/a39/layouts/docs/list.html b/themes/a39/layouts/docs/list.html new file mode 100644 index 0000000..345328c --- /dev/null +++ b/themes/a39/layouts/docs/list.html @@ -0,0 +1,26 @@ +{{ define "title" }}{{ .Title }}{{ end }} +{{ define "main" }} +
C:\ + {{ range .Ancestors.Reverse }} + {{ .LinkTitle }} \ + {{ end }} + {{ .Title }} +
+
+ {{ range .Paginator.Pages }} + + {{ end }} + {{ template "_internal/pagination.html" . }} +
+ +{{ end }} +{{ define "status" }}{{ .Description }}{{ end }} +{{ define "footer" }} +{{ end }} \ No newline at end of file diff --git a/themes/a39/layouts/docs/single.html b/themes/a39/layouts/docs/single.html new file mode 100644 index 0000000..9c812a8 --- /dev/null +++ b/themes/a39/layouts/docs/single.html @@ -0,0 +1,16 @@ +{{ define "title" }}{{ .Title }}{{ end }} +{{ define "main" }} +{{ if not .Params.IsPage }} +
+{{ end }} + {{ .Content }} +{{ if not .Params.IsPage }} +
+{{ end }} +{{ end }} +{{ define "status" }}{{ .Description }}{{ end }} +{{ define "footer" }} + {{ if not .Params.HideComments }} + {{ partial "comments" . }} + {{ end }} +{{ end }} \ No newline at end of file diff --git a/themes/a39/layouts/index.html b/themes/a39/layouts/index.html index 5e519b6..acfd38e 100644 --- a/themes/a39/layouts/index.html +++ b/themes/a39/layouts/index.html @@ -3,6 +3,9 @@

a39 studios logoa39 studios

{{ end }} +{{ define "controls" }} + +{{ end }} {{ define "status" }} made with <3 in Québec City, Canada {{ end }} diff --git a/themes/a39/layouts/projects/list.html b/themes/a39/layouts/projects/list.html index 225719c..9885cc6 100644 --- a/themes/a39/layouts/projects/list.html +++ b/themes/a39/layouts/projects/list.html @@ -1,4 +1,12 @@ {{ define "title" }}{{ .Title }}{{ end }} +{{ define "controls" }} +{{ with .Params.link }} + +{{ end }} +{{ with .Parent }} + +{{ end }} +{{ end }} {{ define "main" }}
{{ .Content }} diff --git a/themes/a39/static/css/styles.css b/themes/a39/static/css/styles.css index 8158359..14600f9 100644 --- a/themes/a39/static/css/styles.css +++ b/themes/a39/static/css/styles.css @@ -117,4 +117,22 @@ code .button-menu button { padding: 3px 0; +} + +.icon +{ + width: 64px; + font-family: "Pixelated MS Sans Serif",Arial; + font-size: 11px; + display: inline-block; + vertical-align: top; +} + +.left +{ + width: 40%; +} +.right +{ + width: 60%; } \ No newline at end of file