diff options
author | nytpu <alex@nytpu.com> | 2021-05-31 12:29:24 -0600 |
---|---|---|
committer | nytpu <alex@nytpu.com> | 2021-05-31 12:29:24 -0600 |
commit | 0d2454ac3997742a060e78deae7d4066a93bd50a (patch) | |
tree | 9404e9225c5af247d0f818e71b48a6acb3349650 | |
parent | Add -e flag to place a stylesheet externally rather than loading it inline (diff) | |
download | kineto-master.tar.bz2 kineto-master.zip |
This patch adds a <header> element that says a proxied page is best
viewed through Gemini, and includes a link to the project Gemini FAQ[a],
to nytpu's Why Gemini article[b], and to the Gemini quickstart[c].
This patch is useful for users that believe the <details> block at the
bottom of the page is too subtle, and wish to direct more traffic to
their Gemini capsule as opposed to the web proxy.
[a]: https://gemini.circumlunar.space/docs/faq.gmi
[b]: https://nytpu.com/why-gemini.gmi
[c]: "chttps://geminiquickst.art/
-rw-r--r-- | main.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -135,6 +135,17 @@ var gemtextPage = template.Must(template. </style> {{- end }} {{- end }} +<header> + <p> + This site is significiantly improved by visting through the + <a href="https://gemini.circumlunar.space/docs/faq.gmi" target="_blank">Gemini Protocol.</a> + </p> + <p> + <a href="https://nytpu.com/why-gemini.gmi" target="_blank">Why use Gemini?</a> — + <a href="https://geminiquickst.art/" target="_blank">See the Gemini Quickstart to get started!</a> + </p> + <hr> +</header> <title>{{.Title}}</title> <article{{if .Lang}} lang="{{.Lang}}"{{end}}> {{ $ctx := . -}} |