aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 7c3bea98343914c7ad752d735e813a23a98323e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="{{ .Config.Language }}">
  <head>
	  <meta charset="utf-8">
	  <meta name="viewport" content="width=device-width,initial-scale=1">
	  <meta name="generator" content="JBMAFP - github.com/mitjafelicijan/jbmafp">

	  <link href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL69vf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv76+/8LBwQkAAAAAAAAAAAAAAAC+vb3/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL+9vf/Bv78JAAAAAAAAAAAAAAAAu7q6/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC7ubr/vr29CAAAAAAAAAAAy8nJAZ6foP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnqGj/6GipAoAAAAAHLjU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AAAAAAAAAAAAAAN/7AAAAAAAAAAAAAAAAAAAAAAAAj/EAAI/5AACP8QAA3/sAAA==" rel="icon" type="image/x-icon" />

	  <title>{{ block "title" . }}{{ .Config.Title }}{{ end }}</title>
	  <meta name="description" content="{{ block "description" . }}{{ .Config.Description }}{{ end }}">

	  <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's posts" href="{{ .Config.BaseURL }}/index.xml">
	  <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's notes" href="{{ .Config.BaseURL }}/notes.xml">

	  <style>
      :root {
        --border-color: gainsboro;
        --border-size: 2px;
        --link-color: blue;
        --bg-color: #eee;
      }

	    body {
        padding: 2.5rem;
        max-width: 1900px;
        background: white;
		    font-family: sans-serif;
        line-height: 1.35rem;
		    font-size: 16px;
	    }

	    hr {
        border: 0;
        border-bottom: var(--border-size) solid var(--border-color);
		    margin-block-start: 1.5rem;
	    }

      a {
        color: var(--link-color);
        text-decoration: none;
      }

	    h1, h2, h3 {
		    line-height: initial;
	    }

	    h1 {
		    font-size: xx-large;
	    }

	    footer {
		    margin-block-start: 2rem;
	    }

	    cap {
		    text-transform: capitalize;
	    }

	    blockquote {
		    font-style: italic;
	    }

      table {
        max-width: 100%;
        border: var(--border-size) solid var(--border-color);
        border-collapse: separate;
        border-spacing: 0;
	    }

      table thead tr th {
        border-bottom: var(--border-size) solid var(--border-color);
        text-align: left;
      }

      table th, table td {
        padding: 0.5em 0.8em;
      }

	    ul.list li {
		    padding: 0.2em 0;
	    }

	    ul {
		    line-height: 1.35em;
	    }

	    pre {
        text-wrap: nowrap;
        overflow-x: auto;
		    padding: 0 1em;
		    border: var(--border-size) solid var(--border-color);
	    }

	    code {
		    padding: 0 3px;
		    font-size: 14px;
		    border: 0;
        background: var(--bg-color);
	    }

	    pre code {
		    line-height: 1.3em;
        background: white;
	    }

	    pre, code, pre *, code * {
		    font-family: monospace;
	    }

	    figure {
		    margin-inline-start: 0;
		    margin-inline-end: 0;
	    }

	    figcaption {
		    text-align: center;
	    }

	    figcaption p {
		    margin: 0.3em 0 0 0;
	    }

	    img, video, audio {
		    width: 800px;
		    max-width: 100%;
	    }

      header nav {
        display: flex;
        gap: 0.9rem;
	    }

      audio::-webkit-media-controls-enclosure {
        border-radius: 0;
      }

	    @media only screen and (max-width: 600px) {
		    body {
			    padding: 0.5em;
          word-wrap: break-word;
		    }

		    header nav {
			    gap: 0.7rem;
		    }

        header nav .hob {
          display: none;
        }

		    a {
			    word-wrap: break-word;
		    }
	    }
	  </style>
  </head>
  <body>

	  <header>
	    <nav class="main" itemscope itemtype="http://schema.org/SiteNavigationElement" role="toolbar">
		    <a href="/">Home</a>
        <a href="/#posts">Posts</a>
        <a href="/#notes">Notes</a>
        <a href="/#sideprojects" class="hob">Side Projects</a>
		    <a href="/vault.html">Vault</a>
		    <a href="https://github.com/mitjafelicijan" target="_blank">Code</a>
		    <a href="/mitjafelicijan.pgp.pub.txt" target="_blank" class="hob">PGP</a>
		    <a href="/curriculum-vitae.html">CV</a>
		    <a href="/index.xml" target="_blank" class="hob">RSS</a>
	    </nav>
	  </header>

    <main role="main">
      {{ block "content" . }}{{ end }}
    </main>

	  <section>
	    <hr>
	    {{ template "openring.html" }}
	  </section>

	  <footer>
	    <hr>
	    <p><big><strong>Want to comment or have something to add?</strong></big></p>
	    <p>
		    You can write me an email
		    at <a href="mailto:mitja.felicijan@gmail.com">mitja.felicijan@gmail.com</a> or
		    catch up with me <a href="https://telegram.me/mitjafelicijan" target="_blank">on Telegram</a>.
	    </p>
	    <hr>
	    <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
		    specified otherwise. Blog is also available as <a href="/index.xml" target="_blank">RSS feed</a>.
	    </p>
	  </footer>

	  <script>
	    window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
	  </script>
	  <script defer src="/_vercel/insights/script.js"></script>
  </body>
</html>