From 82c60527578baf7f13981b41ac79ed55171b6533 Mon Sep 17 00:00:00 2001 From: Jelly Terra Date: Tue, 3 Sep 2024 12:59:07 +0800 Subject: [PATCH] Update with `genesis`: adaca00: Fix bug in `footer.html`. Update `section` layout. Make `header` transparent. --- .github/workflows/pagine.yml | 2 +- en-US/mainpage.html | 23 ++++++++++++++++------- templates/genesis | 2 +- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pagine.yml b/.github/workflows/pagine.yml index 56e9c66..99773d9 100644 --- a/.github/workflows/pagine.yml +++ b/.github/workflows/pagine.yml @@ -26,7 +26,7 @@ jobs: run: sudo apt install node-typescript -y - name: Install Pagine - run: go install github.com/webpagine/pagine/v2/cmd/pagine@v2.4.0 + run: go install github.com/webpagine/pagine/v2/cmd/pagine@v2.4.1 - name: Checkout uses: actions/checkout@v4 diff --git a/en-US/mainpage.html b/en-US/mainpage.html index eea736c..e380785 100644 --- a/en-US/mainpage.html +++ b/en-US/mainpage.html @@ -17,56 +17,65 @@ {{ define "flip" }} -{{ if . }} class="filled" style="text-align: left" {{ else }} style="text-align: right" {{ end }} +class="{{ if . }}filled left{{ else }}right{{ end }}" {{ end }} {{ $flip := false }} {{ $flip = not $flip }}
+

Everything, speed up!

Make max of performance. Execute units and generate related pages in parallel.
Flexibility without compromising efficiency. Do its job well.

+
{{ $flip = not $flip }}
+

Creativity, inspired.

Stylesheets, SVGs, interaction scripts... Make your own template,
distribute and reuse template files via Git, with assets attached.
Choose a license and publish your template, just in minutes! +
{{ $flip = not $flip }}
+

Internationalization, united!

Write and translate your knowledge and experiences, share with the people around the world.
Commit translation for articles you think is valuable, break the boundary of knowledge! +
{{ $flip = not $flip }}
+

Deployment, unattended.

Well integrated with CD/CD services. You have never to worry about what to do after you wrote.
Automatically update the page in server mode, see changes in real time.
When you think everything is ready, deploy via CI/CD directly!
For GitHub Pages, just an Actions workflow! +
{{ $flip = not $flip }}
+

Build what you want.

Documentation, blog, wiki, encyclopedia ... Find your template, and start with it.
Content, appearance and metadata are separated, which keeps the directories clear. +
-
+
+

Leave footprints on your journey.

-
+
GET STARTED WITH PAGINE -
-
- -
+
+ diff --git a/templates/genesis b/templates/genesis index d984423..adaca00 160000 --- a/templates/genesis +++ b/templates/genesis @@ -1 +1 @@ -Subproject commit d98442354cbd04949aa20de9e20542c82bfa49d4 +Subproject commit adaca00a84c8d23dcf9dd674c686ba2b391097cc