From 45c2888df8c1c65b4114db5d4c1287b39bd0426a Mon Sep 17 00:00:00 2001 From: mossfet Date: Sun, 2 Apr 2023 22:52:59 +0100 Subject: [PATCH] Added projects and sites page --- .gitignore | 1 + content/projects/_index.md | 1 + content/projects/life.md | 9 +++++++++ content/sites/_index.md | 11 +++++++++++ themes/sitetheme/layouts/partials/header.html | 2 ++ themes/sitetheme/layouts/projects/list.html | 16 ++++++++++++++++ themes/sitetheme/layouts/projects/single.html | 12 ++++++++++++ 7 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 content/projects/_index.md create mode 100644 content/projects/life.md create mode 100644 content/sites/_index.md create mode 100644 themes/sitetheme/layouts/projects/list.html create mode 100644 themes/sitetheme/layouts/projects/single.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c75eecc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/public diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..94a8f0b --- /dev/null +++ b/content/projects/_index.md @@ -0,0 +1 @@ +# Projects I have made diff --git a/content/projects/life.md b/content/projects/life.md new file mode 100644 index 0000000..4220363 --- /dev/null +++ b/content/projects/life.md @@ -0,0 +1,9 @@ +--- +title: Mossfet's Life +draft: true +--- + +Mossfet's Life is a [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) implementation for the GNOME Platform, written with GTK4 and libadwaita. It uses Rust, and the [Relm4](https://relm4.org/) library to abstract over GTK's Rust bindings. + +Source is available [here](https://git.solarpunk.moe/mossfet/game-of-life-gui) + diff --git a/content/sites/_index.md b/content/sites/_index.md new file mode 100644 index 0000000..e4e11ca --- /dev/null +++ b/content/sites/_index.md @@ -0,0 +1,11 @@ +# Sites I like + +Sites that I enjoyed visiting + +## Non-friends + +[Permacomputing Wiki](https://permacomputing.net/) + +## Friends + +[TakeV's site](https://ta-kev.digital/) diff --git a/themes/sitetheme/layouts/partials/header.html b/themes/sitetheme/layouts/partials/header.html index 6b827d6..457f7d2 100644 --- a/themes/sitetheme/layouts/partials/header.html +++ b/themes/sitetheme/layouts/partials/header.html @@ -6,6 +6,8 @@
  • Home
  • Blog
  • Links
  • +
  • Projects
  • +
  • Good Sites
  • Source
  • diff --git a/themes/sitetheme/layouts/projects/list.html b/themes/sitetheme/layouts/projects/list.html new file mode 100644 index 0000000..49a081f --- /dev/null +++ b/themes/sitetheme/layouts/projects/list.html @@ -0,0 +1,16 @@ + +{{ define "main" }} +
    +
    +
    +

    {{ .Title }}

    + {{ .Content }} + {{ range .Pages }} + + {{ end }} +
    +
    +
    +{{ end }} diff --git a/themes/sitetheme/layouts/projects/single.html b/themes/sitetheme/layouts/projects/single.html new file mode 100644 index 0000000..d7660cc --- /dev/null +++ b/themes/sitetheme/layouts/projects/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} +
    +
    +
    +

    {{ .Title }}

    +
    +
    + {{ .Content }} +
    +
    +
    +{{ end }}