diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 14 | ||||
| -rw-r--r-- | templates/includes/.gitkeep | 0 | ||||
| -rw-r--r-- | templates/openring.html | 14 |
3 files changed, 22 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html index c4dfa3b..abee062 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -173,21 +173,23 @@ | |||
| 173 | {{ block "content" . }}{{ end }} | 173 | {{ block "content" . }}{{ end }} |
| 174 | </main> | 174 | </main> |
| 175 | 175 | ||
| 176 | <section> | ||
| 177 | <hr> | ||
| 178 | {{ template "openring.html" }} | ||
| 179 | </section> | ||
| 180 | |||
| 176 | <footer> | 181 | <footer> |
| 177 | <hr> | 182 | <hr> |
| 178 | <p><big><strong>Want to comment or have something to add?</strong></big></p> | 183 | <p><big><strong>Want to comment or have something to add?</strong></big></p> |
| 179 | <p> | 184 | <p> |
| 180 | You can write me an email | 185 | You can write me an email |
| 181 | at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a> or | 186 | at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a> or |
| 182 | catch up with me <a href="https://telegram.me/mitjafelicijan" | 187 | catch up with me <a href="https://telegram.me/mitjafelicijan" target="_blank">on Telegram</a>. |
| 183 | target="_blank">on Telegram</a>. | ||
| 184 | </p> | 188 | </p> |
| 185 | <hr> | 189 | <hr> |
| 186 | <p>This website does not track you. Content is made available under | 190 | <p>This website does not track you. Content is made available under |
| 187 | the <a href="https://creativecommons.org/licenses/by/4.0/" | 191 | the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer">CC BY 4.0 license</a> unless specified |
| 188 | target="_blank" rel="noreferrer">CC BY 4.0 license</a> unless specified | 192 | otherwise. Blog is also available as <a href="/index.xml" target="_blank">RSS feed</a>. |
| 189 | otherwise. Blog is also available as <a href="/index.xml" | ||
| 190 | target="_blank">RSS feed</a>. | ||
| 191 | </p> | 193 | </p> |
| 192 | </footer> | 194 | </footer> |
| 193 | </body> | 195 | </body> |
diff --git a/templates/includes/.gitkeep b/templates/includes/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/templates/includes/.gitkeep | |||
diff --git a/templates/openring.html b/templates/openring.html new file mode 100644 index 0000000..37776ab --- /dev/null +++ b/templates/openring.html | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <h2>Posts from blogs I follow around the net</h2> | ||
| 2 | |||
| 3 | <ul> | ||
| 4 | {{ range .Articles }} | ||
| 5 | <li> | ||
| 6 | <a href="{{ .Link }}" target="_blank" rel="noopener">{{ .Title }}</a> | ||
| 7 | <div>{{ .Summary }} — <a href="{{ .SourceLink }}">{{ .SourceTitle }}</a> | ||
| 8 | </li> | ||
| 9 | {{ end }} | ||
| 10 | </ul> | ||
| 11 | |||
| 12 | <p> | ||
| 13 | <a href="https://git.sr.ht/~sircmpwn/openring">Generated with openring.</a> | ||
| 14 | </p> | ||
