Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraustingebauer <gebauer.austin@gmail.com>2020-01-04 08:55:57 +0300
committeraustingebauer <gebauer.austin@gmail.com>2020-01-04 08:55:57 +0300
commite69e241d119fcc04c34c2b4f5dc2a4e8b29673fb (patch)
tree80f5af3d21d7d3c42672eaa1ab040017a729ad0b
parenta3d6241454e3d0d70da67de64849c1a9a97f38b2 (diff)
feat: category styles; chore: update hugo to v0.62.1 with goldmark renderer
-rw-r--r--layouts/_default/list.html10
-rw-r--r--layouts/categories/list.html20
-rw-r--r--layouts/tag/list.html19
-rw-r--r--node_modules/node-sass/vendor/darwin-x64-72/binding.nodebin0 -> 3168072 bytes
-rw-r--r--package-lock.json2
5 files changed, 38 insertions, 13 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 4f0ad61..4b64981 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,12 +1,14 @@
{{ define "main" }}
- <div class="pl-sm-4 ml-sm-5 pt-2">
- <ul>
+ <div class="pl-sm-4 ml-sm-5">
+ <ul class="list-unstyled">
{{ range .Pages }}
<li>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
- {{ .Date.Format "Jan 2, 2006" }}
+ {{ .Date.Format "Jan 2 2006" }}
</time>
- <a href="{{ .URL | relURL }}">{{ if .Draft }}DRAFT: {{end}}{{ .Title }}</a>
+ <a href="{{ .URL | relURL }}">
+ {{ if .Draft }}DRAFT: {{end}}{{ .Title }}
+ </a>
</li>
{{ end }}
</ul>
diff --git a/layouts/categories/list.html b/layouts/categories/list.html
new file mode 100644
index 0000000..28ef6e3
--- /dev/null
+++ b/layouts/categories/list.html
@@ -0,0 +1,20 @@
+{{ define "main" }}
+<div class="pl-sm-4 ml-sm-5">
+ <h4>{{ if eq .Name "Categories" }} Categories {{ else }} Category - {{ .Name }} {{ end }}</h4>
+ {{ $outerName := .Name }}
+ <ul class="list-unstyled">
+ {{ range .Pages }}
+ <li>
+ {{ if ne $outerName "Categories" }}
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
+ {{ .Date.Format "Jan 2 2006" }}
+ </time>
+ {{ end }}
+ <a href="{{ .URL | relURL }}">
+ {{ .Title }}
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+</div>
+{{ end }}
diff --git a/layouts/tag/list.html b/layouts/tag/list.html
index 189526f..8ae303d 100644
--- a/layouts/tag/list.html
+++ b/layouts/tag/list.html
@@ -1,9 +1,12 @@
{{ define "main" }}
- <ul>
- {{ range $.Site.Taxonomies.tags.ByCount }}
- <li>
- <a href="/tags{{ .Name | relURL }}">{{ .Name }}</a> - {{ .Count }} Articles
- </li>
- {{ end }}
- </ul>
-{{ end }} \ No newline at end of file
+ <div class="pl-sm-4 ml-sm-5">
+ <h4>Tags</h4>
+ <ul class="list-unstyled">
+ {{ range $.Site.Taxonomies.tags.ByCount }}
+ <li>
+ {{ .Count }} Articles - <a href="/tags{{ .Name | relURL }}">{{ .Name }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </div>
+{{ end }}
diff --git a/node_modules/node-sass/vendor/darwin-x64-72/binding.node b/node_modules/node-sass/vendor/darwin-x64-72/binding.node
new file mode 100644
index 0000000..6b4a9f9
--- /dev/null
+++ b/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Binary files differ
diff --git a/package-lock.json b/package-lock.json
index 264a1a3..bce02a7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,5 +1,5 @@
{
- "name": "ag",
+ "name": "hugo-dev-theme",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,