diff --git a/site/helpers.awk b/site/helpers.awk index 5ba1cf9..f72e671 100644 --- a/site/helpers.awk +++ b/site/helpers.awk @@ -5,7 +5,6 @@ function load_helpers() { data["section_blog"] = section_blog() data["section_code"] = section_code() data["section_photos"] = section_photos() - data["page_css"] = page_css() } function page_title( title) { @@ -31,8 +30,3 @@ function section_photos(section) { return " class=\"section\"" } } -function page_css(css) { - if (data["page_css"]) { - return "\n " - } -} diff --git a/site/index.adoc b/site/index.adoc index 33197d8..0d75ee2 100644 --- a/site/index.adoc +++ b/site/index.adoc @@ -1,7 +1,7 @@ == Welcome, ++++ - +Picture of me ++++ As you may have guessed from the URL, my name is Stefan Hagen. I'm a software developer based in south-west Germany. I'm living in a small town called https://en.wikipedia.org/wiki/Hockenheim[Hockenheim,role=external,window=_blank] together with my wife Jessica and two cats named http://stefanhagen.de/photos/Chloe-%26-June/[Chloe and June]. diff --git a/site/main.layout b/site/main.layout index 6f1d19c..432511f 100644 --- a/site/main.layout +++ b/site/main.layout @@ -8,7 +8,7 @@ - {{page_css}} + diff --git a/site/site.css b/site/site.css index 4693fe1..4220eda 100644 --- a/site/site.css +++ b/site/site.css @@ -453,6 +453,16 @@ input[type="file"]:where(:active, :focus) + .button { color : #36b; } +.avatar { + margin-top: 1em; + margin: 1em; + border-radius: 25%; + width: 140px; + height: 140px; + align: right; + float: right; +} + .photo-img { width: 100%; }