Go lightweight

This commit is contained in:
Ariejan de Vroom 2016-01-06 15:44:01 +01:00
parent b8e04d55dd
commit 493a466570
8 changed files with 129 additions and 364 deletions

View File

@ -3,41 +3,46 @@ type = "page"
title = "About Ariejan"
+++
<img class="avatar" id="about-photo" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=192" />
<img class="avatar" id="about-photo" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=150" />
Hey! I'm a software engineer building rock solid back-end systems
using Ruby, Ruby on Rails and Golang. In my free time I like to
play the piano and experiment with electronics.
Hey, and welcome to this about page!
This site is static HTML, generated by [Hugo][11]. The theme and content are copyrighted, so there's no public code.
I'm a software engineer building rock solid back-end systems
using Ruby, Ruby on Rails and Golang. Besides programming I like to repair
audio equipment, experiment with electronics and play the piano.
<ul id="social">
<li>
<a href="mailto:ariejan@ariejan.net"><i class="ask ask-mail ask-fw"></i> ariejan@ariejan.net</a>
<small>(<a href="/gpg">GPG Key</a>)</small>
</li>
<li>
<a href="http://twitter.com/ariejan"><i class="ask ask-twitter ask-fw"></i> @ariejan</a>
</li>
<li>
<a href="https://github.com/ariejan"><i class="ask ask-github ask-fw"></i> ariejan</a>
</li>
<li>
<a href="http://www.linkedin.com/in/ariejan"><i class="ask ask-linkedin ask-fw"></i> ariejan</a>
</li>
<li>
<a href="skype:adevroom?add"><i class="ask ask-skype ask-fw"></i> adevroom</a>
</li>
<li>
<a href="http://www.last.fm/user/ariejan"><i class="ask ask-lastfm ask-fw"></i> ariejan</a>
</li>
If you want to stay updated about new posts, subscribe to the <a href="https://ariejan.net/index.xml">RSS feed</a>.
</ul>
## Get in touch with me
<ul id="social">
Pick your communication channel of choice:
<ul>
<li>
<a href="https://ariejan.net/index.xml"><i class="ask ask-rss ask-fw"></i> Subscribe to my newsfeed</a>
Mail: <a href="mailto:ariejan@ariejan.net">ariejan@ariejan.net</a>, <a href="/gpg">GPG Key</a>
</li>
<li>
Twitter: <a href="http://twitter.com/ariejan">@ariejan</a>
</li>
<li>
Github: <a href="https://github.com/ariejan">ariejan</a>
</li>
<li>
LinkedIn: <a href="http://www.linkedin.com/in/ariejan">ariejan</a>
</li>
<li>
Skype: <a href="skype:adevroom?add">adevroom</a>
</li>
<li>
Last.fm: <a href="http://www.last.fm/user/ariejan">ariejan</a>
</li>
</ul>
[11]: http://gohugo.io/
## About this site
I've been "blogging" since 1999, but lost my site a few times. This instance dates back
to 2006.
This site is static HTML, generated by [Hugo](http://gohugo.io) and continuously deployed using
[Gitlab CI](https://about.gitlab.com/).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,6 +1,6 @@
{{ partial "header.html" . }}
<section class="posts">
<ul class="posts">
{{ range .Data.Pages }}
<article id="{{ .Slug }}" class="teaser-post">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
@ -12,7 +12,7 @@
</p>
</article>
{{ end }}
</section>
</ul>
{{ partial "footer.html" . }}

View File

@ -1,65 +1,34 @@
{{ partial "header.html" . }}
<article id="{{ .Slug }}" class="single-post">
<h1>{{ .Title }}</h1>
<article id="{{ .Slug }}">
{{ if eq .Section "posts" }}
<p>
<time class="date" datatime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January, 2006" }}</time>
</p>
{{ end }}
{{ if eq .Section "posts" }}
<p class="meta">
<time class="date" datatime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January, 2006" }}</time>
• tagged {{ partial "post/tag/list" . }}
• {{ .WordCount }} words
• ~{{ .ReadingTime }} minutes
</p>
</p>
{{ end }}
<h1>{{ .Title }}</h1>
<div class="body">
{{ .Content }}
</div>
{{ .Content }}
{{ if eq .Section "posts" }}
<div class="about">
<a name="about"></a>
<img class="avatar" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=100" />
{{ if eq .Section "posts" }}
<h4>About</h4>
<h3>About Ariejan</h3>
<p>
Hey! I'm a software engineer building rock solid back-end systems
using Ruby, Ruby on Rails and Golang. In my free time I like to
play the piano and experiment with electronics.
</p>
<img class="avatar" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=150" />
<p>
I'd love to hear your questions and comments on this article: just
<a href="http://twitter.com/ariejan">mention me on twitter</a> or <a href="mailto:ariejan@ariejan.net">dispatch an email</a>.
Cheers!
</p>
<p>
Hey! I'm a software engineer building rock solid back-end systems
using Ruby, Ruby on Rails and Golang. In my free time I like to
repair audio equipment, play the piano and experiment with electronics.
</p>
<ul id="social">
<li><a href="http://twitter.com/ariejan"><i class="fa fa-twitter"></i></a></li>
<li><a href="mailto:ariejan@ariejan.net"><i class="fa fa-envelope"></i></a></li>
<li><a href="https://ariejan.net/index.xml"><i class="fa fa-rss"></i></a></li>
<li><a href="https://github.com/ariejan"><i class="fa fa-github"></i></a></li>
<li><a href="http://www.linkedin.com/in/ariejan"><i class="fa fa-linkedin"></i></a></li>
</ul>
</div>
{{ end }}
<p>
I'd love to hear your questions and comments on this article!
<a href="http://twitter.com/ariejan">Mention me on twitter</a>, <a href="mailto:ariejan@ariejan.net">shoot me an email</a> or <a href="/about">read more about me</a>.
</p>
{{ if eq .Section "posts" }}
<div class="comments">
<div id="disqus_thread"></div>
<script>
var disqus_url = "http://ariejan.net{{ .RelPermalink | safeURL }}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//ariejannet.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
{{ end }}
</article>
{{ end }}
</article>
{{ partial "footer.html" . }}

View File

@ -1,30 +1,28 @@
{{ partial "header.html" . }}
<section class="posts">
{{ range first 10 (where .Data.Pages "Section" "posts") }}
<article id="{{ .Slug }}" class="teaser-post">
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="meta">
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January, 2006" }}</time>
• tagged {{ partial "post/tag/list" . }}
• {{ .WordCount }} words
• ~{{ .ReadingTime }} minutes
<section id="posts">
<p>
Hey! I'm a software engineer building rock solid back-end systems
using Ruby, Ruby on Rails and Golang. Besides programming I like to repair
audio equipment, experiment with electronics and play the piano.
<a href="/about">Read more about me</a>.
</p>
<p class="description">{{ .Description | safeHTML }}</p>
</article>
<h2>Recent and not-so recent blog posts</h2>
{{ range (where .Data.Pages "Section" "posts").GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ range after 10 (where .Data.Pages "Section" "posts") }}
<article id="{{ .Slug }}" class="teaser-post">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p class="meta">
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January, 2006" }}</time>
• tagged {{ partial "post/tag/list" . }}
• {{ .WordCount }} words
• ~{{ .ReadingTime }} minutes
</p>
</article>
{{ end }}
</section>
{{ partial "footer.html" . }}

View File

@ -1,12 +1,11 @@
<footer class="footer">
Copyright 1999 - 2015 {{ .Site.Copyright }}
Powered by <a href="http://gohugo.io">Hugo</a>
</footer>
</div>
<script src="/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<footer>
<p>
----
<br />
Copyright 2016 <a href="/about">{{ .Site.Copyright }}</a>,
Powered by <a href="http://gohugo.io">Hugo</a>.
</p>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@ -16,7 +15,6 @@
ga('create', 'UA-60089-16', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@ -13,9 +13,6 @@
<meta content='a blog by ariejan de vroom about software engineering and craftsmanship.' name='description'>
<meta content='software engineering, programming, craftsmanship, devops, ruby, rubyonrails, rails, git, svn, postgres, postgresql, mysql, mac, ios, apple, web2.0, go, golang' name='keywords'>
<!-- FontIcons FTW! -->
<script src="https://use.fonticons.com/264684f2.js"></script>
<meta content='3bgidck6YUMyx-kvL_a8E4ry0DJOAIOYaZkZxQ0kZw4' name='google-site-verification'>
<!-- OpenID -->
@ -32,15 +29,6 @@
<link href='/css/outerspace.css' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="container">
<header class="header">
<a href="/"><h1>ariejan <span>de vroom</span></h1></a>
<nav class="main">
<ul class="nav">
<li><a href="/">blog</a></li>
<li><a href="/talks">talks</a></li>
<li><a href="/gpg">gpg</a></li>
<li><a href="/about">about</a></li>
</ul>
</nav>
</header>
<header>
<a href="/"><h1>Ariejan de Vroom</h1></a>
</header>

View File

@ -1,268 +1,75 @@
@charset "utf-8";
@import url(//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono);
/* Rest */
/* Reset */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
/* Highlight.js */
.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;-webkit-text-size-adjust:none}.hljs,.hljs-subst,.hljs-tag .hljs-title,.nginx .hljs-title{color:#000}.apache .hljs-cbracket,.apache .hljs-tag,.asciidoc .hljs-header,.bash .hljs-variable,.coffeescript .hljs-attribute,.django .hljs-variable,.erlang_repl .hljs-function_or_atom,.haml .hljs-symbol,.hljs-addition,.hljs-constant,.hljs-flow,.hljs-parent,.hljs-pragma,.hljs-preprocessor,.hljs-rules .hljs-value,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-title,.markdown .hljs-header,.ruby .hljs-symbol,.ruby .hljs-symbol .hljs-string,.smalltalk .hljs-class,.tex .hljs-command,.tex .hljs-special{color:#756bb1}.asciidoc .hljs-blockquote,.diff .hljs-header,.hljs-annotation,.hljs-chunk,.hljs-comment,.markdown .hljs-blockquote,.smartquote{color:#636363}.asciidoc .hljs-bullet,.asciidoc .hljs-link_url,.go .hljs-constant,.hljs-change,.hljs-date,.hljs-hexcolor,.hljs-literal,.hljs-number,.hljs-regexp,.lasso .hljs-variable,.makefile .hljs-variable,.markdown .hljs-bullet,.markdown .hljs-link_url,.smalltalk .hljs-char,.smalltalk .hljs-symbol{color:#31a354}.apache .hljs-sqbracket,.asciidoc .hljs-attribute,.asciidoc .hljs-link_label,.clojure .hljs-attribute,.coffeescript .hljs-property,.erlang_repl .hljs-reserved,.haml .hljs-bullet,.hljs-array,.hljs-attr_selector,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-list .hljs-built_in,.hljs-localvars,.hljs-phony,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-shebang,.lasso .hljs-attribute,.markdown .hljs-link_label,.nginx .hljs-built_in,.ruby .hljs-string,.tex .hljs-formula,.vhdl .hljs-attribute{color:#88f}.apache .hljs-tag,.asciidoc .hljs-strong,.bash .hljs-variable,.css .hljs-tag,.hljs-built_in,.hljs-dartdoc,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-phpdoc,.hljs-request,.hljs-status,.hljs-title,.hljs-type,.hljs-typename,.hljs-winutils,.hljs-yardoctag,.markdown .hljs-strong,.smalltalk .hljs-class,.tex .hljs-command{color:#3182bd}.asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic}.nginx .hljs-built_in{font-weight:400}.coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .css,.xml .hljs-cdata,.xml .javascript,.xml .vbscript{opacity:.5}.css .hljs-attribute,.html .hljs-attribute{color:#e6550d}.css .hljs-class,.html .hljs-tag,.html .hljs-title{color:#3182bd}
/* .hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;-webkit-text-size-adjust:none}.hljs,.hljs-subst,.hljs-tag .hljs-title,.nginx .hljs-title{color:#000}.apache .hljs-cbracket,.apache .hljs-tag,.asciidoc .hljs-header,.bash .hljs-variable,.coffeescript .hljs-attribute,.django .hljs-variable,.erlang_repl .hljs-function_or_atom,.haml .hljs-symbol,.hljs-addition,.hljs-constant,.hljs-flow,.hljs-parent,.hljs-pragma,.hljs-preprocessor,.hljs-rules .hljs-value,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-title,.markdown .hljs-header,.ruby .hljs-symbol,.ruby .hljs-symbol .hljs-string,.smalltalk .hljs-class,.tex .hljs-command,.tex .hljs-special{color:#756bb1}.asciidoc .hljs-blockquote,.diff .hljs-header,.hljs-annotation,.hljs-chunk,.hljs-comment,.markdown .hljs-blockquote,.smartquote{color:#636363}.asciidoc .hljs-bullet,.asciidoc .hljs-link_url,.go .hljs-constant,.hljs-change,.hljs-date,.hljs-hexcolor,.hljs-literal,.hljs-number,.hljs-regexp,.lasso .hljs-variable,.makefile .hljs-variable,.markdown .hljs-bullet,.markdown .hljs-link_url,.smalltalk .hljs-char,.smalltalk .hljs-symbol{color:#31a354}.apache .hljs-sqbracket,.asciidoc .hljs-attribute,.asciidoc .hljs-link_label,.clojure .hljs-attribute,.coffeescript .hljs-property,.erlang_repl .hljs-reserved,.haml .hljs-bullet,.hljs-array,.hljs-attr_selector,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-list .hljs-built_in,.hljs-localvars,.hljs-phony,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-shebang,.lasso .hljs-attribute,.markdown .hljs-link_label,.nginx .hljs-built_in,.ruby .hljs-string,.tex .hljs-formula,.vhdl .hljs-attribute{color:#88f}.apache .hljs-tag,.asciidoc .hljs-strong,.bash .hljs-variable,.css .hljs-tag,.hljs-built_in,.hljs-dartdoc,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-phpdoc,.hljs-request,.hljs-status,.hljs-title,.hljs-type,.hljs-typename,.hljs-winutils,.hljs-yardoctag,.markdown .hljs-strong,.smalltalk .hljs-class,.tex .hljs-command{color:#3182bd}.asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic}.nginx .hljs-built_in{font-weight:400}.coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .css,.xml .hljs-cdata,.xml .javascript,.xml .vbscript{opacity:.5}.css .hljs-attribute,.html .hljs-attribute{color:#e6550d}.css .hljs-class,.html .hljs-tag,.html .hljs-title{color:#3182bd}
*/
body {
background: #FFFFFF;
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-family: "Lucida Console", Monaco, monospace;
font-size: 1em;
line-height: 1.25em;
line-height: 1.5em;
}
.container {
width: 96%;
margin: 0 auto;
header, article, footer, section {
margin: 1.5em;
max-width: 36em;
}
p, ul, ol, pre {
margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-weight: 700;
color: #333;
}
h2 {
font-size: 1.2em;
line-height: 1.4em;
}
a {
color: #ff2c00;
text-decoration: none;
}
strong {
font-weight: 700;
background-color: #f9ffbf;
}
em {
font-style: italic;
}
pre > code {
margin-left: 1em;
}
code {
font-family: 'Droid Sans Mono';
font-size: 0.82em;
color: #f00;
background-color: #efefef;
padding-left: 6px;
padding-right: 6px;
}
blockquote {
display: block;
margin-left: 2em;
padding-left: 1em;
border-left: 3px solid #f00;
background-color: #f9f9f9;
}
header {
padding-bottom: 2em;
margin-bottom: 2em;
font-family: "PT Sans", Helvetica, Arial, sans-serif;
border-bottom: 1px solid #e9e9e9;
}
header h1 {
margin-top: 1em;
margin-bottom: 0.5em;
font-size: 2em;
}
header h1 span {
color: #696969;
}
header nav {
font-size: 1.1em;
}
header nav ul.nav {
margin-bottom: 0;
}
header nav ul.nav li {
display: inline-block;
}
header nav ul.nav li::before {
content: " • ";
padding: 0 0.5em;
}
header nav ul.nav li:first-child:before {
content: "";
padding: 0;
}
footer {
padding-top: 2em;
padding-bottom: 2em;
margin-top: 2em;
margin-bottom: 2em;
border-top: 1px solid #e9e9e9;
}
.single-post h1 {
font-size: 2em;
line-height: 1em;
padding-bottom: 0.5em;
}
.single-post img {
max-width: 100%;
}
.single-post .date,
.single-post .tags,
.single-post .body {
padding: 0 0.3em;
}
.single-post h2 {
font-size: 1.4em;
line-height: 1em;
padding-bottom: 0.5em;
}
.single-post ul {
list-style: square;
margin-left: 2em;
}
.posts .teaser-post {
margin-bottom: 2em;
}
.posts .teaser-post h2 {
font-size: 1.6em;
}
.posts .teaser-post h3 {
font-size: 1.2em;
}
.posts .teaser-post h2 a,
.posts .teaser-post h3 a {
color: #191919;
}
.posts .teaser-post .date {
display: inline-block;
}
/* .posts .teaser-post .meta { */
.single-post .meta {
padding: 0 0.3em;
color: #999;
font-size: 0.8em;
}
.posts .teaser-post .meta {
margin-bottom: 0;
color: #999;
font-size: 0.8em;
}
.posts .teaser-post .meta a {
color: #f66;
}
.posts .teaser-post .separator {
border-bottom: 1px solid #e9e9e9;
padding: 0;
margin: 0 auto;
width: 21%;
img {
width: 100%;
max-width: 36em;
}
img.avatar {
border-radius: 50%;
width: 100px;
float: right;
margin-left: 1em;
}
.about {
background-color: #f9f9f9;
padding: 2em;
margin-bottom: 2em;
}
.about img.avatar {
width: 6.4em;
width: 150px;
float: left;
margin: 3em 2em 2em 0;
border: 5px solid #fff;
border-radius: 50%;
margin: 0 1.5em 1.5em 0;
}
.about p,
.about ul,
.about h4 {
margin-left: 9em;
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
text-decoration: underline;
margin-bottom: 1.5em;
}
.about h4 {
text-align: center;
padding-bottom: 1em;
code, pre {
font-family: "Lucida Console", Monaco, monospace;
font-size: 1em;
line-height: 1.5em;
}
ul#social {
list-style: none;
text-align: center;
margin-bottom: 0;
p, ul, ol, blockquote, pre {
margin-bottom: 1.5em;
}
ul#social li {
list-style: none;
pre {
margin-left: 3em;
}
ul#social li a {
color: #333;
ol, ul {
margin-left: 3em;
}
.body ul#social {
text-align: left;
ol {
list-style-type: decimal;
}
@media (min-width: 720px) {
.container {
width: 630px;
}
.single-post h1 {
font-size: 2.4em;
line-height: 1em;
}
img.avatar {
width: 150px;
}
ul {
list-style-type: none;
}
@media (max-width: 720px) {
.about img.avatar {
display: none;
}
.about p,
.about ul,
.about h4 {
margin-left: 0;
}
ul li:before {
content: "* ";
}
blockquote {
margin-left: 3em;
}
blockquote p:before {
content: "> ";
}