diff options
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 231 |
1 files changed, 0 insertions, 231 deletions
diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 674925c..0000000 --- a/templates/base.html +++ /dev/null | |||
| @@ -1,231 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="{{ .Config.Language }}"> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| 6 | <meta name="generator" content="JBMAFP - github.com/mitjafelicijan/jbmafp"> | ||
| 7 | |||
| 8 | <link href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL69vf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv76+/8LBwQkAAAAAAAAAAAAAAAC+vb3/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL+9vf/Bv78JAAAAAAAAAAAAAAAAu7q6/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC7ubr/vr29CAAAAAAAAAAAy8nJAZ6foP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnqGj/6GipAoAAAAAHLjU/xcXHf/BwsL/I8XY/yPK3v8XGiD/IbjL/yPF2f8XGiD/Fxkf/yLF2f8gnK3/Fxog/62ztv8fwNf/FRcd/x271v8mz93/GRsi/xkXHf8p097/GiIp/xobIv8p0t3/KdPe/xocIv8fYmr/KNPe/xoZH/8aHCL/J87c/xy81/8VFxz/IsPZ/8zS0/8XGiD/Ir/R/yPH2/8XGiD/Fxkf/yPH2/8dd4T/GBog/yPJ3f8jyNr/uru9/xcUGv8cudb/EhITDKi5vRKlvMP/RUpOERwcHRAdOj4QHTk8EBwdHRAdNTgQHTo/EBwcHRAcHB0QSGduEKW4vf+koqQfHzg+EBqz0ewSFRv7EyMr/xq51vsTERb7ExUb+xq41fsau9j7ExUb+xiPp/sZudb7ExUb+xMVG/sZuNX/GKvI/BIUGfMdvdn/IrfL/xcaIP8n1eb/J9Dh/xkcIf8ZGR7/J8/f/xxCSv8ZGyH/J9Dg/ybQ4P8ZHCL/FSQs/yPK3/8UExj/GE1b/ybS5P8ZGB7/Ghwj/ynW5P8p2Ob/Ghwi/yWrtv8p1eH/Ghwi/xocIv8p1uT/J8XT/xkcIv8m1un/Hb7d/xUYH/8hzOr/HtHu/xcaIf8XGB//I8vi/xgxOv8XGSD/I8rg/yPK4P8XGiD/GUFL/yPP6f8SERj/Fhkh/x3A4f8AAAAAJ2f9/ydr//8mZPH/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlYu38J2v//ydo/f8AAAAAAAAAAAd8/fkFqf//Iob8sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMY39awWr//8FfP3/AAAAAAAAAAAFm/7/SfD//wR+/f8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOB/f9B7v//BaX+/wAAAAAAAAAAQ878SAyZ/v9n1v4KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADu9v8DDJb+/z3N/XgAAAAA3/sAAN/7AADf+wAA3/sAAAAAAAAAAAAAAAAAAN/7AAAAAAAAAAAAAAAAAAAAAAAAj/EAAI/5AACP8QAA3/sAAA==" rel="icon" type="image/x-icon" /> | ||
| 9 | |||
| 10 | <title>{{ block "title" . }}{{ .Config.Title }}{{ end }}</title> | ||
| 11 | <meta name="description" content="{{ block "description" . }}{{ .Config.Description }}{{ end }}"> | ||
| 12 | <meta name="author" content="{{ .Config.Title }}"> | ||
| 13 | |||
| 14 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's posts" href="{{ .Config.BaseURL }}/index.xml"> | ||
| 15 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's notes" href="{{ .Config.BaseURL }}/notes.xml"> | ||
| 16 | |||
| 17 | <style> | ||
| 18 | :root { | ||
| 19 | --border-color: gainsboro; | ||
| 20 | --border-size: 2px; | ||
| 21 | --link-color: blue; | ||
| 22 | --bg-color: #eee; | ||
| 23 | } | ||
| 24 | |||
| 25 | *::selection { | ||
| 26 | background: var(--link-color); | ||
| 27 | color: #ffffff; | ||
| 28 | } | ||
| 29 | |||
| 30 | *::-moz-selection { | ||
| 31 | background: var(--link-color); | ||
| 32 | color: #ffffff; | ||
| 33 | } | ||
| 34 | |||
| 35 | *::-webkit-selection { | ||
| 36 | background: var(--link-color); | ||
| 37 | color: #ffffff; | ||
| 38 | } | ||
| 39 | |||
| 40 | body { | ||
| 41 | padding: 2.5rem; | ||
| 42 | max-width: 1900px; | ||
| 43 | background: white; | ||
| 44 | font-family: sans-serif; | ||
| 45 | line-height: 1.35rem; | ||
| 46 | font-size: 16px; | ||
| 47 | } | ||
| 48 | |||
| 49 | hr { | ||
| 50 | border: 0; | ||
| 51 | border-bottom: var(--border-size) solid var(--border-color); | ||
| 52 | margin-block-start: 1.5rem; | ||
| 53 | } | ||
| 54 | |||
| 55 | a { | ||
| 56 | color: var(--link-color); | ||
| 57 | text-decoration: none; | ||
| 58 | } | ||
| 59 | |||
| 60 | h1, h2, h3 { | ||
| 61 | line-height: initial; | ||
| 62 | } | ||
| 63 | |||
| 64 | h1 { | ||
| 65 | font-size: xx-large; | ||
| 66 | } | ||
| 67 | |||
| 68 | footer { | ||
| 69 | margin-block-start: 2rem; | ||
| 70 | } | ||
| 71 | |||
| 72 | cap { | ||
| 73 | text-transform: capitalize; | ||
| 74 | } | ||
| 75 | |||
| 76 | blockquote { | ||
| 77 | font-style: italic; | ||
| 78 | } | ||
| 79 | |||
| 80 | table { | ||
| 81 | max-width: 100%; | ||
| 82 | border: var(--border-size) solid var(--border-color); | ||
| 83 | border-collapse: separate; | ||
| 84 | border-spacing: 0; | ||
| 85 | } | ||
| 86 | |||
| 87 | table thead tr th { | ||
| 88 | border-bottom: var(--border-size) solid var(--border-color); | ||
| 89 | text-align: left; | ||
| 90 | } | ||
| 91 | |||
| 92 | table th, table td { | ||
| 93 | padding: 0.5em 0.8em; | ||
| 94 | } | ||
| 95 | |||
| 96 | ul.list li { | ||
| 97 | padding: 0.2em 0; | ||
| 98 | } | ||
| 99 | |||
| 100 | ul { | ||
| 101 | line-height: 1.35em; | ||
| 102 | } | ||
| 103 | |||
| 104 | pre { | ||
| 105 | text-wrap: nowrap; | ||
| 106 | overflow-x: auto; | ||
| 107 | padding: 0 1em; | ||
| 108 | border: var(--border-size) solid var(--border-color); | ||
| 109 | } | ||
| 110 | |||
| 111 | code { | ||
| 112 | padding: 0 3px; | ||
| 113 | font-size: 14px; | ||
| 114 | border: 0; | ||
| 115 | background: var(--bg-color); | ||
| 116 | } | ||
| 117 | |||
| 118 | pre code { | ||
| 119 | line-height: 1.3em; | ||
| 120 | background: white; | ||
| 121 | } | ||
| 122 | |||
| 123 | pre, code, pre *, code * { | ||
| 124 | font-family: monospace; | ||
| 125 | } | ||
| 126 | |||
| 127 | figure { | ||
| 128 | margin-inline-start: 0; | ||
| 129 | margin-inline-end: 0; | ||
| 130 | } | ||
| 131 | |||
| 132 | figcaption { | ||
| 133 | width: 800px; | ||
| 134 | max-width: 100%; | ||
| 135 | text-align: center; | ||
| 136 | } | ||
| 137 | |||
| 138 | figcaption p { | ||
| 139 | margin: 0.3em 0 1.5em 0; | ||
| 140 | font-style: italic; | ||
| 141 | } | ||
| 142 | |||
| 143 | img, video, audio { | ||
| 144 | width: 800px; | ||
| 145 | max-width: 100%; | ||
| 146 | border: var(--border-size) solid var(--border-color); | ||
| 147 | padding: 0.5em; | ||
| 148 | } | ||
| 149 | |||
| 150 | header nav { | ||
| 151 | display: flex; | ||
| 152 | gap: 0.9rem; | ||
| 153 | } | ||
| 154 | |||
| 155 | article iframe { /* fixes embeds going to center */ | ||
| 156 | margin: 0!important; | ||
| 157 | } | ||
| 158 | |||
| 159 | audio::-webkit-media-controls-enclosure { | ||
| 160 | border-radius: 0; | ||
| 161 | } | ||
| 162 | |||
| 163 | @media only screen and (max-width: 600px) { | ||
| 164 | body { | ||
| 165 | padding: 0.5em; | ||
| 166 | word-wrap: break-word; | ||
| 167 | } | ||
| 168 | |||
| 169 | header nav { | ||
| 170 | gap: 0.7rem; | ||
| 171 | } | ||
| 172 | |||
| 173 | header nav .hob { | ||
| 174 | display: none; | ||
| 175 | } | ||
| 176 | |||
| 177 | a { | ||
| 178 | word-wrap: break-word; | ||
| 179 | } | ||
| 180 | |||
| 181 | img, video, audio { | ||
| 182 | padding: 0em; | ||
| 183 | } | ||
| 184 | } | ||
| 185 | </style> | ||
| 186 | </head> | ||
| 187 | <body> | ||
| 188 | |||
| 189 | <header> | ||
| 190 | <nav class="main" itemscope itemtype="http://schema.org/SiteNavigationElement" role="navigation" aria-label="Main navigation"> | ||
| 191 | <a href="/">Home</a> | ||
| 192 | <a href="/#posts">Posts</a> | ||
| 193 | <a href="/#notes">Notes</a> | ||
| 194 | <a href="/#sideprojects" class="hob">Side Projects</a> | ||
| 195 | <a href="/vault.html">Vault</a> | ||
| 196 | <a href="https://github.com/mitjafelicijan" target="_blank">Code</a> | ||
| 197 | <a href="/mitjafelicijan.pgp.pub.txt" target="_blank" class="hob">PGP</a> | ||
| 198 | <a href="/curriculum-vitae.html">CV</a> | ||
| 199 | <a href="/index.xml" target="_blank" class="hob">RSS</a> | ||
| 200 | </nav> | ||
| 201 | </header> | ||
| 202 | |||
| 203 | <main role="main"> | ||
| 204 | {{ block "content" . }}{{ end }} | ||
| 205 | </main> | ||
| 206 | |||
| 207 | <section> | ||
| 208 | <hr> | ||
| 209 | {{ template "openring.html" }} | ||
| 210 | </section> | ||
| 211 | |||
| 212 | <footer> | ||
| 213 | <hr> | ||
| 214 | <p><big><strong>Want to comment or have something to add?</strong></big></p> | ||
| 215 | <p> | ||
| 216 | You can write me an email | ||
| 217 | at <a href="mailto:mitja.felicijan@gmail.com">mitja.felicijan@gmail.com</a> or | ||
| 218 | catch up with me <a href="https://telegram.me/mitjafelicijan" target="_blank">on Telegram</a>. | ||
| 219 | </p> | ||
| 220 | <hr> | ||
| 221 | <p>This website does not track you. Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer">CC BY 4.0 license</a> unless | ||
| 222 | specified otherwise. Blog is also available as <a href="/index.xml" target="_blank">RSS feed</a>. | ||
| 223 | </p> | ||
| 224 | </footer> | ||
| 225 | |||
| 226 | <script> | ||
| 227 | window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); }; | ||
| 228 | </script> | ||
| 229 | <script defer src="/_vercel/insights/script.js"></script> | ||
| 230 | </body> | ||
| 231 | </html> | ||
