Skip to content

Commit

Permalink
Update with genesis: adaca00: Fix bug in footer.html. Update `sec…
Browse files Browse the repository at this point in the history
…tion` layout. Make `header` transparent.
  • Loading branch information
jellyterra committed Sep 3, 2024
1 parent 143feea commit 82c6052
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pagine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 16 additions & 7 deletions en-US/mainpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,56 +17,65 @@
</div>

{{ 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 }}
<section {{ template "flip" $flip }}>
<div class="content-1">
<h1>Everything, speed up!</h1>
<p>
Make max of performance. Execute units and generate related pages in parallel.<br/>
Flexibility without compromising efficiency. Do its job well.
</p>
</div>
</section>

{{ $flip = not $flip }}
<section {{ template "flip" $flip }}>
<div class="content-1">
<h1>Creativity, inspired.</h1>
Stylesheets, SVGs, interaction scripts... Make your own template,<br/>
distribute and reuse template files via Git, with assets attached.<br/>
Choose a license and publish your template, just in minutes!
</div>
</section>

{{ $flip = not $flip }}
<section {{ template "flip" $flip }}>
<div class="content-1">
<h1>Internationalization, united!</h1>
Write and translate your knowledge and experiences, share with the people around the world.<br/>
Commit translation for articles you think is valuable, break the boundary of knowledge!
</div>
</section>

{{ $flip = not $flip }}
<section {{ template "flip" $flip }}>
<div class="content-1">
<h1>Deployment, unattended.</h1>
Well integrated with CD/CD services. You have never to worry about what to do after you wrote.<br/>
Automatically update the page in server mode, see changes in real time.<br/>
When you think everything is ready, deploy via CI/CD directly!<br/>
For GitHub Pages, just an Actions workflow!
</div>
</section>

{{ $flip = not $flip }}
<section {{ template "flip" $flip }}>
<div class="content-1">
<h1>Build what you want.</h1>
Documentation, blog, wiki, encyclopedia ... Find your template, and start with it.<br/>
Content, appearance and metadata are separated, which keeps the directories clear.
</div>
</section>

<section style="text-align: center">
<div style="text-align: center">
<div style="height: 10vh"></div>
<h1>Leave footprints on your journey.</h1>
<div style="min-height: 5%"></div>
<div style="height: 5vh"></div>
<a class="button button-filled" target="_blank" href="https://github.com/webpagine/get-started">GET STARTED WITH PAGINE</a>
<div style="min-height: 10%"></div>
</section>

<div style="height: 10vh"></div>
<div style="height: 30vh"></div>
</div>
2 changes: 1 addition & 1 deletion templates/genesis

0 comments on commit 82c6052

Please sign in to comment.