From 95df760bc1571071a7f6b9f626ecd4e5e3b34adc Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 27 Jan 2021 15:10:46 +0100 Subject: Adde openring --- template/index.html | 25 ++++++++++++++++--------- template/openring.tmpl | 34 ++++++++++++++++++++++++++++++++++ template/post.html | 29 +++++++++++++++++++++++++++++ template/style.css | 18 +++++++++++++++++- 4 files changed, 96 insertions(+), 10 deletions(-) create mode 100644 template/openring.tmpl (limited to 'template') diff --git a/template/index.html b/template/index.html index 7727f3b..a566d95 100755 --- a/template/index.html +++ b/template/index.html @@ -21,20 +21,23 @@ +
+
-

Side projects

+

Side projects I work on

+ +
+ + {{template "openring-build.html"}} {{template "_includes.html"}} diff --git a/template/openring.tmpl b/template/openring.tmpl new file mode 100644 index 0000000..43ad6a2 --- /dev/null +++ b/template/openring.tmpl @@ -0,0 +1,34 @@ +
+

Articles from blogs I follow around the net

+
+ {{range .Articles}} + + {{end}} +
+

+ Generated by + openring +

+
+ + diff --git a/template/post.html b/template/post.html index b59bb38..3247d8f 100755 --- a/template/post.html +++ b/template/post.html @@ -24,6 +24,35 @@ {{.Content}} + + {{if .Listing}} +
+ ➝ Get in contact with me via email. +
+ +
+ + {{if .Posts}} + + {{end}} + +
+ + {{template "openring-build.html"}} + {{end}} + {{template "_includes.html"}} diff --git a/template/style.css b/template/style.css index 5aee568..26913fb 100755 --- a/template/style.css +++ b/template/style.css @@ -6,7 +6,7 @@ --link-color: #111111; --link-color-hover: #111111; - --label-color: #828282; + --label-color: #5f5f5f; --border-color: #eeeeee; @@ -222,6 +222,10 @@ blockquote p { margin-top: 60px; } +.top-margin-huge { + margin-top: 100px; +} + code { background: rgb(255, 241, 177); padding: 2px 5px; @@ -249,6 +253,18 @@ time { font-size: 90%; } +/* article */ + +article a { + overflow-wrap: break-word; + word-wrap: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; +} + + /* footer */ .footer { -- cgit v1.2.3