diff options
author | mms <michal@sapka.me> | 2024-02-26 21:45:23 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-02-26 21:45:23 +0100 |
commit | aec99f3e8d57f40545e9cad1657e1d85952816c0 (patch) | |
tree | 5bafd1d6d9bc2ab6ad5aa5165c787451a6a99216 /layouts/_default | |
parent | 22d97916f51c049a777148205c0fd95a1aabc689 (diff) |
feat: web buttons
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 34 | ||||
-rw-r--r-- | layouts/_default/index.html | 22 | ||||
-rw-r--r-- | layouts/_default/single.html | 17 |
3 files changed, 27 insertions, 46 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 49f65df..b626a95 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -97,43 +97,11 @@ {{ block "pagination" . }} {{ end }} - {{ partial "back_nav" . }} <br><br> </main> - - - <footer> - <nav id="top-nav"> - <nav id="main-nav"> - <a href="/">Home</a> | - <a href="/about">About</a> | - <a href="/links">Links</a> | - <a href="/index.xml">RSS</a> - </nav> - <nav id="categories-nav"> - <a href="/articles/">Articles</a> | - <a href="/blog/">Blog</a> | - <a href="/bsd/">BSD</a> | - <a href="/emacs/">Emacs</a> | - <a href="/funnies/">Funnies</a> | - <a href="/site/">Site info</a> | - <a href="/star-trek/">Star Trek </a> | - <a href="/vcs/git">VCS</a> - </nav> - <br> - <nav> - Powered by - <a href="https://www.openbsd.org/">OpenBSD</a>, - <a href="https://gohugo.io/">Hugo</a>, and - <a href="https://www.gnu.org/software/emacs/">Emacs</a>. - Consider <a href="https://notochrome.org/">not using Chrome</a>. - - </nav> - - </nav> - </nav> + {{ partial "button-15" (dict "button" . "file" "home.gif" "alt" "Return to homepage" "href" "/") }} </footer> </body> </html> diff --git a/layouts/_default/index.html b/layouts/_default/index.html index f18ba65..f1c2980 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -10,6 +10,8 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we <a href="/links/">Links</a> // <a href="/me/now/">Now</a> </nav> + +<BR> <div> <a href="https://nonbot.org/pledged/view/9b37caf2-57c1-4934-9bea-69c54eb46452" target="_blank"> <img style="height:128px;margin-top:10px;margin-bottom:10px;" src="https://nonbot.org/images/nonbot_pledged_logo.svg" alt="Human-made Content"> @@ -41,6 +43,26 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we <h2>TOC</h2> You can also use <a href="/toc">Table of Contents</a>. <br><br> + +<h2>Web buttons</h2> + + <nav> + {{ partial "button-15" (dict "button" . "file" "open-bsd.png" "alt" "Powered by OpenBSD" "href" "https://openbsd.org") }} + {{ partial "button-15" (dict "button" . "file" "gnu-emacs.png" "alt" "Powered by GNU Emacs" "href" "https://www.gnu.org/software/emacs/") }} + {{ partial "button-15" (dict "button" . "file" "trekkie.gif" "alt" "I am a trekkie" "href" "/star-trek/") }} + {{ partial "button-15" (dict "button" . "file" "rss-20.gif" "alt" "RSS Feed" "href" "/index.xml") }} + {{ partial "button-15" (dict "button" . "file" "self-hosted.gif" "alt" "Self hosted on OpenBSD Amsterdam" "href" "https://openbsd.amsterdam/") }} + {{ partial "button-15" (dict "button" . "file" "text-powered.gif" "alt" "Text powered" ) }} + {{ partial "button-15" (dict "button" . "file" "freebsd.gif" "alt" "Freebsd" "href" "https://freebsd.org" ) }} + {{ partial "button-15" (dict "button" . "file" "coffee.gif" "alt" "Powered by cofee") }} + {{ partial "button-15" (dict "button" . "file" "get-firefox.gif" "alt" "Gef Firefox" "href" "https://www.mozilla.org/firefox/") }} + {{ partial "button-15" (dict "button" . "file" "http-11.png" "alt" "Served with HTTP 1.1") }} + {{ partial "button-15" (dict "button" . "file" "jabber.gif" "alt" "Use Jabber") }} + {{ partial "button-15" (dict "button" . "file" "lisp.png" "alt" "Use Lisp") }} + {{ partial "button-15" (dict "button" . "file" "ruby-lang.png" "alt" "Use Ruby" "href" "https://www.ruby-lang.org/") }} + {{ partial "button-15" (dict "button" . "file" "evangelion.png" "alt" "Neon Genesis Evangelion 4 Life" ) }} + {{ partial "button-15" (dict "button" . "file" "lain.png" "alt" "Serial Experiments Lain 4 Life" ) }} + </nav> {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4fc3986..191f651 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,22 +23,13 @@ <a href="{{$.Site.Params.repoUrl}}/commit/{{$lastmodhash}}">{{ $lastmod }}</a> </time> {{ end }} - </div> - <aside> - <h2>Author</h2> - <p> - Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. - This website is not dedicated to any particular one thing. - Instead, I write whatever interests me most at the moment. - No content here is auto-generated, so any bugs, problems, or controversies are entirely on me! - </p> - <p> - I don't have any commenting system, but comments over <a href="/me/contact">email</a> are more than welcome! - </p> - </aside> + {{ partial "button-15" (dict "button" . "file" "email-me.png" "alt" "Email me" "href" "/me/contact/") }} + {{- end }} {{- end }} </article> + + </div> {{ end }} |