Commit 9ffc1b00 authored by wu-lee's avatar wu-lee

theme/ - tweak post/page index look

parent 284e7d58
......@@ -454,11 +454,16 @@ table tr {
text-transform: none;
}
.post-stub-date {
.post-stub-date, .page-stub-date {
display: inline-block;
float: right;
font-style: italic;
}
.post-stub-date:before, .page-stub-date:before {
content: "(";
}
.post-stub-date:before {
content: "/ ";
.post-stub-date:after, .page-stub-date:after {
content: ")";
}
.next-posts-link a,
......
{"version":3,"sourceRoot":"","sources":["../sass/style.scss"],"names":[],"mappings":"AAQA;AACA;AACA;AAEA;EAAa;;;AAEb;EACI,YATS;EAUT;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EAAK;;;AACL;EAAK;;;AACL;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AAEtB;EACI;EACA;;;AAGJ;EACI,OAnCM;EAoCN;;;AAGJ;EACI;EACA;EACA;;AAEA;EAAS;;AAET;EACI;;AAEA;EAAiB;;;AAIzB;EAAK;;;AACL;EAAK;;;AAEL;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;AAEA;AAAA;EAEI;;AAGJ;EACI;EACA;;AAGJ;EAAK;;AAEL;EAAK;;;AAGT;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EAA6B;;;AAE7B;EACI;EACA;EACA;;;AAIA;EACI;EACA;EACA;;;AAIR;AACA;AACA;AAEA;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACI;AACJ;EACA;;AAEA;EACI;EACA;AACA;EACA;;;AAIR;EACI,YA7KQ;EA8KR;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAAU,YAvLJ;;;AA0LV;EACI,YA3LM;E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GJ;IACI;IACA;;;EAGJ;IACI;IACA;;;EAGJ;IAAoB;;;AAGxB;AACA;AACA;AAGE;EACE;EACA;EACA;;AAIF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;AAAA;EAEE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE","file":"style.css"}
\ No newline at end of file
{"version":3,"sourceRoot":"","sources":["../sass/style.scss"],"names":[],"mappings":"AAQA;AACA;AACA;AAEA;EAAa;;;AAEb;EACI,YATS;EAUT;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EAAK;;;AACL;EAAK;;;AACL;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AACtB;EAAK;EAAiB;;;AAEtB;EACI;EACA;;;AAGJ;EACI,OAnCM;EAoCN;;;AAGJ;EACI;EACA;EACA;;AAEA;EAAS;;AAET;EACI;;AAEA;EAAiB;;;AAIzB;EAAK;;;AACL;EAAK;;;AAEL;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;AAEA;AAAA;EAEI;;AAGJ;EACI;EACA;;AAGJ;EAAK;;AAEL;EAAK;;;AAGT;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EAA6B;;;AAE7B;EACI;EACA;EACA;;;AAIA;EACI;EACA;EACA;;;AAIR;AACA;AACA;AAEA;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACI;AACJ;EACA;;AAEA;EACI;EACA;AACA;EACA;;;AAIR;EACI,YA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;AAAA;AAAA;IAGI;;EAEA;AAAA;AAAA;AAAA;AAAA;IACI;;;EAKJ;IACI;;;EAIR;AAAA;AAAA;IAGI;IACA;;;EAGJ;IACI;IACA;;;EAGJ;IACI;IACA;;;EAGJ;IAAoB;;;AAGxB;AACA;AACA;AAGE;EACE;EACA;EACA;;AAIF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;AAAA;EAEE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE","file":"style.css"}
\ No newline at end of file
......@@ -417,10 +417,12 @@ table {
text-transform: none;
}
.post-stub-date {
.post-stub-date, .page-stub-date {
display: inline-block;
&:before { content: "/ "; }
float: right;
font-style: italic;
&:before { content: "("; }
&:after { content: ")"; }
}
.next-posts-link a,
......
......@@ -3,7 +3,7 @@
<a class="js-ajax-link" title="{{title}} | {{@root.config.title}}" href="{{url}}">
<h4 class="post-stub-title">{{title}}</h4>
<time class="post-stub-date" datetime="{{date git.first.authored format='x'}}">Published {{date git.first.authored format="MMMM Do YYYY"}}</time>
<time class="post-stub-date" datetime="{{date git.first.authored format='x'}}">published {{date git.first.authored format="DD/MM/YYYY"}}</time>
{{#if featured}}
<span class="post-stub-tag">Featured</span>
......
......@@ -2,18 +2,18 @@
<p class="post-date">
{{#if git}}
First commit
<time datetime="{{date git.first.authored format='x'}}">{{date git.first.authored format="MMMM Do YYYY"}}</time>
<time datetime="{{date git.first.authored format='x'}}">{{date git.first.authored format="DD/MM/YYYY"}}</time>
<strong>by {{authorLink git.first.author}}</strong>.
{{#if git.span.authored }}
Last commit
<time datetime="{{date git.last.authored format='x'}}">{{date git.last.authored format="MMMM Do YYYY"}}</time>
<time datetime="{{date git.last.authored format='x'}}">{{date git.last.authored format="DD/MM/YYYY"}}</time>
<strong>by {{authorLink git.last.author}}</strong>.
{{/if}}
{{else}}
Uncommitted.
{{/if}}
Generated
<time datetime="{{date timestamp format='x'}}">{{date timestamp format="MMMM Do YYYY"}}</time>.
<time datetime="{{date timestamp format='x'}}">{{date timestamp format="DD/MM/YYYY"}}</time>.
</p>
{{#if tags}}
......
......@@ -7,7 +7,7 @@
<a class="js-ajax-link" title="{{title}}" href="{{url}}">
<h5 class="post-stub-title">{{longtitle}}</h4>
(<time class="page-stub-date" datetime="{{date git.last.authored format='x'}}">modified {{date git.first.authored format="MMMM Do YYYY"}}</time>)
<time class="page-stub-date" datetime="{{date git.last.authored format='x'}}">modified {{date git.first.authored format="DD/MM/YYYY"}}</time>
</a>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment