diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 18:51:19 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 18:51:19 +0200 |
commit | c772716e98e11181d301deadeca52856ac18f085 (patch) | |
tree | 25039bd7739039c000ab748b1547b5e5514d0b7a /internal/port/tpl/gopher.html | |
parent | WIP: Refactoring (diff) | |
download | gopherproxy-c772716e98e11181d301deadeca52856ac18f085.tar.gz gopherproxy-c772716e98e11181d301deadeca52856ac18f085.tar.bz2 gopherproxy-c772716e98e11181d301deadeca52856ac18f085.zip |
Improved Gemini support
Diffstat (limited to 'internal/port/tpl/gopher.html')
-rw-r--r-- | internal/port/tpl/gopher.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/port/tpl/gopher.html b/internal/port/tpl/gopher.html index 5436123..6eb607c 100644 --- a/internal/port/tpl/gopher.html +++ b/internal/port/tpl/gopher.html | |||
@@ -35,7 +35,7 @@ | |||
35 | {{- $page := . -}} | 35 | {{- $page := . -}} |
36 | {{- range .Lines -}} | 36 | {{- range .Lines -}} |
37 | {{- if .Link -}} | 37 | {{- if .Link -}} |
38 | <div class="section"><span class="section__type">{{- .Type -}}</span><a class="section__content" href="{{ .Link }}">{{- .Text -}}</a></div> | 38 | <div class="section"><span class="section__type">{{- .Type -}}</span><a class="section__content link link--{{ .Type }}" href="{{ .Link }}">{{- .Text -}}</a></div> |
39 | {{- else -}} | 39 | {{- else -}} |
40 | <div class="section"><span class="section__type"></span><pre class="section__content">{{- .Text -}}</pre></div> | 40 | <div class="section"><span class="section__type"></span><pre class="section__content">{{- .Text -}}</pre></div> |
41 | {{- end -}} | 41 | {{- end -}} |