diff --git a/README.md b/README.md index 8a944c1..0d838d4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ the 32bit.cafe website, created with Hugo ## TODO -Sections to Convert +Sections to Convert to Markdown - [ ] /index - [x] /about - [x] /advertising @@ -17,6 +17,9 @@ Sections to Convert - [ ] /holdays2023 - [ ] /bookclub? +Sections to Convert to Data Files +- [x] /linktous + Functionality to Reimplement - [ ] Theme Switcher - [ ] Theme Uploader diff --git a/content/linktous/index.html b/content/linktous/index.html deleted file mode 100644 index 03c9d2a..0000000 --- a/content/linktous/index.html +++ /dev/null @@ -1,22 +0,0 @@ -

Link to 32-Bit Cafe

-
-

88x31 Buttons

- -

Made by Zeus:

- -

- -

Made by Peggatoo:

- -

- -

Made by Loren:

- -

- -

Pubmats & Social Media Graphics

- -

Made by Loren:

- -

-
diff --git a/content/linktous/index.md b/content/linktous/index.md new file mode 100644 index 0000000..3410b3b --- /dev/null +++ b/content/linktous/index.md @@ -0,0 +1,4 @@ +--- +title: Link to 32-Bit Cafe +layout: linktous +--- diff --git a/data/buttons.yaml b/data/buttons.yaml new file mode 100644 index 0000000..ec27b95 --- /dev/null +++ b/data/buttons.yaml @@ -0,0 +1,15 @@ +- creator: Zeus + url: "https://zeusofthecrows.github.io/stadt/" + images: + - "32b-neon.gif" + - "32b-pcb.png" + - "32b-trad-rgb.png" + - "32b-win9x.png" +- creator: Peggatoo + url: "https://theplug.icu/" + images: + - "32bc-peggatoo.png" +- creator: Loren + url: "https://ribo.zone/" + images: + - "32bitty-loren.png" diff --git a/data/pubmats.yaml b/data/pubmats.yaml new file mode 100644 index 0000000..305fc26 --- /dev/null +++ b/data/pubmats.yaml @@ -0,0 +1,4 @@ +- creator: Loren + url: "https://ribo.zone/" + images: + - "32bitriso.png" diff --git a/layouts/page/linktous.html b/layouts/page/linktous.html new file mode 100644 index 0000000..fd3d042 --- /dev/null +++ b/layouts/page/linktous.html @@ -0,0 +1,23 @@ +{{ define "main" }} +

{{ .Title }}

+
+

88x31 Buttons

+ {{ range $.Site.Data.buttons }} +

Made by {{ .creator }}:

+

+ {{ range .images }} + + {{ end }} +

+ {{ end }} +

Pubmats & Social Media Graphics

+ {{ range $.Site.Data.pubmats }} +

Made by {{ .creator }}:

+

+ {{ range .images }} + + {{ end }} +

+ {{ end }} +
+{{ end }}