diff --git a/layouts/_default/list copy.html b/layouts/_default/list copy.html new file mode 100644 index 0000000..0aec539 --- /dev/null +++ b/layouts/_default/list copy.html @@ -0,0 +1,30 @@ +{{ partial "head.html" . }} + + {{ partial "navigation.html" . }} + {{ partial "profile.html" . }} + +
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

{{ .Key }}

+ +
+ {{ end }} + {{ partial "footer.html" . }} +
+ +
+
+ + {{ partial "js.html" . }} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0aec539..4fcce78 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,30 +1,38 @@ -{{ partial "head.html" . }} - - {{ partial "navigation.html" . }} - {{ partial "profile.html" . }} +{{ define "main" }} +{{ partial "profile.html" . }} -
- {{ range .Data.Pages.GroupByDate "2006" }} -
-

{{ .Key }}

- -
- {{ end }} - {{ partial "footer.html" . }} -
+
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

+ {{ .Key }} +

-
-
+ {{ range .Pages }} +
+
+ {{ .Date.Format "Jan 2" }} +
+
+ + {{ .Title }} + - {{ partial "js.html" . }} - - + {{ with .Params.tags }} +
+ {{ range . }} + {{ . }} + {{ end }} +
+ {{ end}} +
+
+ {{ end }} +
+ {{ end }} + + +
+ + +{{ end }} \ No newline at end of file diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..9fb6648 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,8 @@ +{{ define "main" }} +{{ partial "profile.html" . }} + +
+ {{ .Content }} +
+ +{{ end }} \ No newline at end of file diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..4fcce78 --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,38 @@ +{{ define "main" }} +{{ partial "profile.html" . }} + +
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

+ {{ .Key }} +

+ + {{ range .Pages }} +
+
+ {{ .Date.Format "Jan 2" }} +
+
+ + {{ .Title }} + + + {{ with .Params.tags }} +
+ {{ range . }} + {{ . }} + {{ end }} +
+ {{ end}} +
+
+ {{ end }} +
+ {{ end }} + + +
+ + +{{ end }} \ No newline at end of file diff --git a/layouts/_default/terms copy.html b/layouts/_default/terms copy.html new file mode 100644 index 0000000..b58282e --- /dev/null +++ b/layouts/_default/terms copy.html @@ -0,0 +1,27 @@ +{{ partial "head.html" . }} + + {{ partial "navigation.html" . }} + {{ partial "profile.html" . }} + +
+
+ +
+ {{ partial "footer.html" . }} +
+ + {{ partial "js.html" . }} + + diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 52525bf..1a15c47 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,28 +1,15 @@ -{{ partial "head.html" . }} - - {{ partial "navigation.html" . }} - {{ partial "profile.html" . }} - - -
-
- -
- {{ partial "footer.html" . }} -
- - {{ partial "js.html" . }} - - +{{ define "main" }} +{{ partial "profile.html" . }} +
+ {{ $data := .Data }} + {{ range $key, $value := .Data.Terms.ByCount }} + {{ if ($value.Name) }} + + + {{ $value.Name | upper }} ({{ $value.Count }}) + + + {{ end }} + {{ end }} +
+{{ end }} \ No newline at end of file diff --git a/layouts/section/about.html b/layouts/section/about11.html similarity index 91% rename from layouts/section/about.html rename to layouts/section/about11.html index 00c0260..5ab1bd1 100644 --- a/layouts/section/about.html +++ b/layouts/section/about11.html @@ -3,7 +3,7 @@ {{ partial "navigation.html" . }} {{ partial "profile.html" . }} -
+
{{ .Content }} {{ if .Site.Params.enableDisqus }} diff --git a/static/css/style.css b/static/css/style.css index 269259c..9bb2631 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -237,15 +237,16 @@ nav.navigation a.button { font-weight: 400; letter-spacing: 0px; font-size: 20px; - color: #222; - margin-top: 12px; + color: #404040; + margin-bottom: 0; + margin-top: 0; } .profile h2 { font-size: 20px; font-weight: 300; color: #757575; - margin-top: 10px; + margin-top: 0; } /* index post list */ @@ -261,7 +262,7 @@ nav.navigation a.button { #list-page .title { display: inline-block; - color: #333; + color: #404040; font-size: 20px; font-weight: 400; margin: 0; @@ -269,7 +270,7 @@ nav.navigation a.button { } #list-page .title a { - color: #333; + color: #404040; display: block; } @@ -365,4 +366,90 @@ nav.navigation a.button { font-size: 14px; margin-right: 3px; } +#single .tags a:hover { + color: #0366d6; +} + + +#archive { + max-width: 580px; + margin: 0 auto; + padding: 0 24px; +} + +#archive .total { + font-size: 15px; +} + +#archive .group { + margin: 24px auto; +} +#archive .group .key { + font-size: 20px; + margin-bottom: 12px; +} +#archive .group .value { + display: block; + font-size: 16px; + margin-bottom: 12px; +} +#archive .group .value .date { + display: inline-block; + color: #999; + width: 60px; +} +#archive .group .value .title { + display: inline; +} +#archive .group .value .title a { + color:#404040; +} +#archive .group .value .title a:hover { + color: #0366d6; +} +#archive .group .value .tags { + display: inline; + margin-left: 7px; +} +#archive .group .value .tags a { + background: #f2f2f2; + padding: 4px 7px; + color: #999; + font-size: 14px; + margin-right: 3px; +} +#archive .group .value .tags a:hover { + color: #0366d6; +} + +/* taxonomy */ +#tags { + max-width: 700px; + margin: 48px auto 0 auto; + padding: 0 12px; + text-align: center; +} + +#tags .tag { + display: inline-block; + display: inline-block; + margin: 7px 12px; +} +#tags .tag a { + background: #f2f2f2; + padding: 4px 7px; + color: #757575; + color: #404040; + font-size: 14px; + margin-right: 3px; +} +#tags .tag a:hover { + color: #0366d6; +} +/* section page */ +#section { + max-width: 580px; + margin: 48px auto 0 auto; + padding: 0 12px; +} \ No newline at end of file