diff options
author | Loïc Hoguin <[email protected]> | 2018-08-01 11:51:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-08-01 11:51:09 +0200 |
commit | 34bea68bc8c23429ab788387b4db110135789adf (patch) | |
tree | 980155128e22c97fb191a6f6b76f693ff1373436 /_build/themes/ninenines | |
parent | cdd9c66b172c34e8417a868979646c82fb335ea2 (diff) | |
download | ninenines.eu-34bea68bc8c23429ab788387b4db110135789adf.tar.gz ninenines.eu-34bea68bc8c23429ab788387b4db110135789adf.tar.bz2 ninenines.eu-34bea68bc8c23429ab788387b4db110135789adf.zip |
Add the year in the articles date circle
This will prevent confusion around very old articles.
Diffstat (limited to '_build/themes/ninenines')
4 files changed, 7 insertions, 7 deletions
diff --git a/_build/themes/ninenines/layouts/articles/list.html b/_build/themes/ninenines/layouts/articles/list.html index ce8f9b4c..094598f1 100644 --- a/_build/themes/ninenines/layouts/articles/list.html +++ b/_build/themes/ninenines/layouts/articles/list.html @@ -13,8 +13,8 @@ <header> <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <p class="date"> - <span class="day">{{ .Date.Format "02" }}</span> - <span class="month">{{ .Date.Format "Jan" }}</span> + <span class="year">{{ .Date.Format "2006" }}</span> + <span class="day-month">{{ .Date.Format "02 Jan" }}</span> </p> </header> diff --git a/_build/themes/ninenines/layouts/articles/single.html b/_build/themes/ninenines/layouts/articles/single.html index 1eeda1e5..c9589e10 100644 --- a/_build/themes/ninenines/layouts/articles/single.html +++ b/_build/themes/ninenines/layouts/articles/single.html @@ -10,8 +10,8 @@ <header> <h1 class="lined-header"><span>{{ .Title }}</span></h1> <p class="date"> - <span class="day">{{ .Date.Format "02" }}</span> - <span class="month">{{ .Date.Format "Jan" }}</span> + <span class="year">{{ .Date.Format "2006" }}</span> + <span class="day-month">{{ .Date.Format "02 Jan" }}</span> </p> </header> diff --git a/_build/themes/ninenines/layouts/partials/head.html b/_build/themes/ninenines/layouts/partials/head.html index 2aa9cdc5..55cd6a46 100644 --- a/_build/themes/ninenines/layouts/partials/head.html +++ b/_build/themes/ninenines/layouts/partials/head.html @@ -7,7 +7,7 @@ <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Site.Title }}: {{ .Title }}{{ end }}</title> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'> - <link href="/css/99s.css?r=1" rel="stylesheet"> + <link href="/css/99s.css?r=2" rel="stylesheet"> <link rel="shortcut icon" href="/img/ico/favicon.ico"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png"> diff --git a/_build/themes/ninenines/static/css/99s.css b/_build/themes/ninenines/static/css/99s.css index 72b95ac2..6e6742d0 100644 --- a/_build/themes/ninenines/static/css/99s.css +++ b/_build/themes/ninenines/static/css/99s.css @@ -129,8 +129,8 @@ h2{margin-top:20px} #company-description{height:76px;margin-bottom:15px;overflow:hidden} #company-description div.paragraph{background:url(../img/header_line.png) repeat-x scroll center center transparent;color:#333;font-style:italic;line-height:1.3em;margin:14px 0;text-align:center} #company-description p{background:none repeat scroll 0 0 #FAFAFA;display:inline-block;width:70%;font-size:18px} -.blog_item .date .day{font-size:24px;display:block} -.blog_item .date{font-size:16px;background:#acb75c;height:50px;width:60px;border-radius:34px;border:4px solid #c5d573;color:#fff;float:left;text-align:center;padding-top:10px;padding-left:0;font-style:normal;margin-left:-60px;margin-top:-68px;position:absolute} +.blog_item .date .year{font-size:20px;display:block;margin-bottom:4px;} +.blog_item .date{font-size:14px;background:#acb75c;height:50px;width:60px;border-radius:34px;border:4px solid #c5d573;color:#fff;float:left;text-align:center;padding-top:10px;padding-left:0;font-style:normal;margin-left:-60px;margin-top:-68px;position:absolute} .blog_item header h1,.blog_item header h2{margin-left:20px} .blog_item{border-bottom:1px solid #EEE} .blog_item a.read_more{color:#fff;background:none repeat scroll 0 0 #ACB75C;border-radius:5px;padding:5px 10px;display:inline-block;margin-top:5px;font-weight:700;font-size:12px} |