templates: use translations
This commit is contained in:
parent
cc6692138b
commit
10f880d674
|
@ -56,11 +56,11 @@
|
|||
{{ template "scripts" . }}
|
||||
<div class="container">
|
||||
<header>
|
||||
<p><a href="/">Christine Dodrill</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/resume">Resume</a></p>
|
||||
<p><a href="/">{{ trans "header" "name" }}</a> - <a href="/blog">{{ trans "header" "blog" }}</a> - <a href="/contact">{{ trans "header" "contact" }}</a> - <a href="/resume">{{ trans "header" "resume" }}</a></p>
|
||||
</header>
|
||||
{{ template "content" . }}
|
||||
<footer>
|
||||
<blockquote>Copyright 2018 Christine Dodrill. Any and all opinions listed here are my own and not representative of my employer.</blockquote>
|
||||
<blockquote>{{ trans "meta" "copyright" "2018" }}</blockquote>
|
||||
</footer>
|
||||
<script>
|
||||
if (navigator.serviceWorker.controller) {
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
{{ define "title" }}
|
||||
<title>Blog - Christine Dodrill</title>
|
||||
<title>{{ trans "header" "blog" }} - {{ trans "header" "name" }}</title>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<h1>Blogposts</h1>
|
||||
<h1>{{ trans "blog" "index_title" }}</h1>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li>{{ .Date }} - <a href="{{ .Link }}">{{ .Title }}</a></li>
|
||||
<li>{{ trans "blog" "posted_on" .Date }} - <a href="{{ .Link }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<br />
|
||||
|
||||
<h2>Other Blogs I Find Interesting</h2>
|
||||
<h2>{{ trans "blog" "blogroll" }}</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="https://write.as/excerpts/">Excerpts</a></li>
|
||||
|
@ -25,6 +25,7 @@
|
|||
<li><a href="https://shamanic.vision/">Shamanic Vision</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>{{ trans "blog" "comments" }}</h2>
|
||||
<h2>Selected Commentary on These Blogposts</h2>
|
||||
|
||||
<h3><a href="/blog/experimental-rilkef-2018-11-30">I Put Words on this Webpage so You Have to Listen to Me Now</a></h3>
|
||||
|
@ -33,6 +34,8 @@
|
|||
<blockquote>
|
||||
Top tier satire. Won't be read by anyone who should read it, and will be ignored/laughed at by anyone who does/already agrees.
|
||||
|
||||
<br />
|
||||
|
||||
Literally preaching to the literal choir.
|
||||
</blockquote>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "title" }}
|
||||
<title>{{ .Title }} - Christine Dodrill</title>
|
||||
<title>{{ .Title }} - {{ trans "header" "name" }}</title>
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
@ -10,11 +10,11 @@
|
|||
<!-- Facebook -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="{{ .Title }}" />
|
||||
<meta property="og:site_name" content="Christine Dodrill's Blog" />
|
||||
<meta property="og:site_name" content="{{ trans "blog" "title" }}" />
|
||||
|
||||
<!-- Description -->
|
||||
<meta name="description" content="{{ .Title }} - Christine Dodrill's Blog" />
|
||||
<meta name="author" content="Christine Dodrill">
|
||||
<meta name="description" content="{{ .Title }} - {{ trans "blog" "title" }}" />
|
||||
<meta name="author" content="{{ trans "header" "name" }}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
{{ define "title" }}<title>Contact - Christine Dodrill</title>{{ end }}
|
||||
{{ define "title" }}<title>{{ trans "header" "contact" }} - {{ trans "header" "name" }}</title>{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<h1>Contact Information</h1>
|
||||
<h1>{{ trans "contact" "header" }}</h1>
|
||||
<div class="grid">
|
||||
<div class="cell -6of12">
|
||||
<h3>Email</h3>
|
||||
<h3>{{ trans "contact" "email" }}</h3>
|
||||
<p>me@christine.website</p>
|
||||
|
||||
<p>My GPG fingerprint is <code>799F 9134 8118 1111</code>. If you get an email that appears to be from me and the signature does not match that fingerprint, it is not from me. You may download a copy of my public key <a href="/static/gpg.pub">here</a>.</p>
|
||||
|
||||
<h3>Social Media</h3>
|
||||
<h3>{{ trans "contact" "social_media" }}</h3>
|
||||
<ul>
|
||||
<li><a href="https://github.com/Xe">Github</a></li>
|
||||
<li><a href="https://twitter.com/theprincessxena">Twitter</a></li>
|
||||
|
@ -20,8 +18,11 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="cell -6of12">
|
||||
<h3>Other Information</h3>
|
||||
<p>To send me donations, my bitcoin address is <code>1Gi2ZF2C9CU9QooH8bQMB2GJ2iL6shVnVe</code>.</p>
|
||||
<h3>{{ trans "contact" "other_info" }}</h3>
|
||||
<p>{{ trans "contact" "donations" }} <code>1Gi2ZF2C9CU9QooH8bQMB2GJ2iL6shVnVe</code>.</p>
|
||||
|
||||
<h4>IRC</h4>
|
||||
<p>{{ trans "contact" "irc_comment" }}</p>
|
||||
|
||||
<h4>Telegram</h4>
|
||||
<p><a href="https://t.me/miamorecadenza">@miamorecadenza</a></p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "title" }}
|
||||
<title>Error - Christine Dodrill</title>
|
||||
<title>{{ trans "error" "title" }} - {{ trans "header" "name" }}</title>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
|
|
|
@ -1,29 +1,36 @@
|
|||
{{ define "title" }}<title>Christine Dodrill</title>{{ end }}
|
||||
{{ define "title" }}<title>{{ trans "header" "name" }}</title>{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="grid">
|
||||
<div class="cell -3of12 content">
|
||||
<img src="/static/img/avatar.png">
|
||||
<br />
|
||||
<a href="/contact" class="justify-content-center">Contact Me</a>
|
||||
<a href="/contact" class="justify-content-center">{{ trans "index" "contact_me" }}</a>
|
||||
</div>
|
||||
<div class="cell -9of12 content">
|
||||
<h1>Christine Dodrill</h1>
|
||||
<h4>Web and Backend Services Devops Specialist</h4>
|
||||
<h5>Skills</h5>
|
||||
<h1>{{ trans "header" "name" }}</h1>
|
||||
<h4>{{ trans "index" "title" }}</h4>
|
||||
<h5>{{ trans "index" "skills" }}</h5>
|
||||
<ul>
|
||||
<li>Go, Lua, Nim, Haskell, C, Python (3.x) and other languages</li>
|
||||
<li>Docker (deployment, development & more)</li>
|
||||
<li>Mashups of data</li>
|
||||
<li>Package maintainer for Alpine Linux</li>
|
||||
<li>Speaks English, toki pona, and la .lojban.</li>
|
||||
</ul>
|
||||
|
||||
<h5>Highlighted Projects</h5>
|
||||
<h5>{{ trans "index" "highlighted_projects" }}</h5>
|
||||
<ul>
|
||||
<li><a href="https://github.com/Xe/PonyAPI">PonyAPI</a> - My Little Pony: Friendship is Magic Episode information API</li>
|
||||
<li><a href="https://github.com/PonyvilleFM/aura">Aura</a> - PonyvilleFM live DJ recording bot</li>
|
||||
<li><a href="https://github.com/Elemental-IRCd/elemental-ircd">Elemental-IRCd</a> - IRC Server Software</li>
|
||||
<li><a href="https://github.com/Xe/site">This website</a> - The backend and templates for this website</li>
|
||||
<li><a href="https://github.com/Xe/olin">Olin</a> - WebAssembly on the server</li>
|
||||
<li><a href="https://github.com/Xe/aports">aports</a> - Alpine Linux ports</li>
|
||||
<li><a href="https://github.com/Xe/when-then-zen">when-then-zen</a> - Meditation instructions in Gherkin</li>
|
||||
<li><a href="https://github.com/Xe/creators-code">Creator's Code</a> - Minimal code of conduct for communities</li>
|
||||
<li><a href="https://github.com/Xe/printerfacts">printerfacts</a> - Informative facts about printers</li>
|
||||
<li><a href="https://github.com/Xe/x">x</a> - Experiments and toys</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{{ define "title" }}<title>Resume - Christine Dodrill</title>{{ end }}
|
||||
{{ define "title" }}<title>{{ trans "header" "resume" }} - {{ trans "header" "name" }}</title>{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
{{ . }}
|
||||
|
||||
<hr />
|
||||
|
||||
<a href="/static/resume/resume.md">Plain-text version of this resume here</a>
|
||||
<a href="/static/resume/resume.md">{{ trans "resume" "plaintext" }}</a>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue