diff --git a/.prettierignore b/.prettierignore
deleted file mode 100644
index d77ae12..0000000
--- a/.prettierignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules/
-*.md
diff --git a/.prettierrc b/.prettierrc
deleted file mode 100644
index 40f2d3f..0000000
--- a/.prettierrc
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "plugins": ["prettier-plugin-go-template"],
- "proseWrap": "preserve",
- "overrides": [
- {
- "files": ["*.html"],
- "options": {
- "parser": "go-template",
- "printWidth": 80,
- "singleAttributePerLine": true
- }
- }
- ]
-}
diff --git a/assets/css/components/table.scss b/assets/css/components/table.scss
index 3f26b3c..ed51377 100644
--- a/assets/css/components/table.scss
+++ b/assets/css/components/table.scss
@@ -1,30 +1,25 @@
-/* TODO: Not currently used */
-@media screen and (max-width: 480px) {
- .table-scroller {
- overflow-x: auto;
- width: 320px;
- }
-}
-
-table {
- margin: auto;
- inline-size: 80%;
+/* TODO: Not currently used */
+@media screen and (max-width: 480px) {
+ .table-scroller {
+ overflow-x: auto;
+ width: 320px;
+ }
+}
+
+table {
+ margin: auto;
+ width: 80%;
display: table;
& thead {
border: 2px solid $dark;
}
- & td {
- padding: 0.5em 1em;
- border: 1px solid $dark;
-
- &:nth-of-type(1),
- &:nth-last-of-type(1) {
- white-space: nowrap;
- }
- }
-}
+ & td {
+ padding: 0.5em 1em;
+ border: 1px solid $dark;
+ }
+}
td[colspan] {
text-align: center;
diff --git a/assets/css/layout/_header.scss b/assets/css/layout/_header.scss
index f34e49f..d6c0657 100644
--- a/assets/css/layout/_header.scss
+++ b/assets/css/layout/_header.scss
@@ -11,7 +11,7 @@
width: 100%;
text-align: center;
z-index: 1;
-
+
&__title,
&__tagline,
&__icons,
@@ -45,7 +45,7 @@
grid-area: header-nav;
margin: auto;
width: 100%;
- @include mq("desktop") {
+ @include mq('desktop') {
width: 60%;
}
diff --git a/assets/css/layout/_main.scss b/assets/css/layout/_main.scss
index d94e183..8955f6f 100644
--- a/assets/css/layout/_main.scss
+++ b/assets/css/layout/_main.scss
@@ -2,23 +2,7 @@
grid-area: page-container;
margin-left: 1em;
margin-right: 1em;
- @include mq("desktop") {
+ @include mq('desktop') {
margin: 2em;
}
-
- &__header {
- & .section-nav {
- padding-block-end: 1em;
-
- & li {
- float: left;
- padding-inline: 1em;
- }
- }
-
- & .section__desc {
- border-block: 2px solid $dark;
- margin-block: 1em;
- }
- }
}
diff --git a/content/books/_index.md b/content/books/_index.md
deleted file mode 100644
index af7a188..0000000
--- a/content/books/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Books
----
-
-Here you can record books that you read.
diff --git a/content/books/current/_index.md b/content/books/current/_index.md
deleted file mode 100644
index b8bf076..0000000
--- a/content/books/current/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Currently Reading
-weight: 4
----
-
-Here you can record books that you are currently reading.
diff --git a/content/books/log/_index.md b/content/books/log/_index.md
deleted file mode 100644
index 8c2d98d..0000000
--- a/content/books/log/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Read
-weight: 2
----
-
-Here you can record books that you have previously read.
diff --git a/content/books/wishlist/_index.md b/content/books/wishlist/_index.md
deleted file mode 100644
index 61ad06d..0000000
--- a/content/books/wishlist/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: To-Read
-weight: 3
----
-
-Here you can record books that you would like to read.
diff --git a/content/films/_index.md b/content/films/_index.md
deleted file mode 100644
index 2f73334..0000000
--- a/content/films/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Films
----
-
-Here you can record films that you watch.
diff --git a/content/films/log/_index.md b/content/films/log/_index.md
deleted file mode 100644
index 917e47a..0000000
--- a/content/films/log/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Watched
-weight: 1
----
-
-Here you can record films that you have previously watched.
diff --git a/content/films/wishlist/_index.md b/content/films/wishlist/_index.md
deleted file mode 100644
index 61cd0bf..0000000
--- a/content/films/wishlist/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: To-Watch
-weight: 2
----
-
-Here you can record films that you would like to watch.
diff --git a/content/games/_index.md b/content/games/_index.md
deleted file mode 100644
index 6af5fa1..0000000
--- a/content/games/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Games
----
-
-Here you can record games that you play.
diff --git a/content/games/current/_index.md b/content/games/current/_index.md
deleted file mode 100644
index d009d40..0000000
--- a/content/games/current/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Currently Playing
-weight: 1
----
-
-Here you can record games that you are currently playing.
diff --git a/content/games/log/_index.md b/content/games/log/_index.md
deleted file mode 100644
index 5acc5a5..0000000
--- a/content/games/log/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Played
-weight: 2
----
-
-Here you can record games that you have previously played.
diff --git a/content/games/wishlist/_index.md b/content/games/wishlist/_index.md
deleted file mode 100644
index 7552be3..0000000
--- a/content/games/wishlist/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: To-Play
-weight: 3
----
-
-Here you can record games that you would like to play.
diff --git a/content/tv/_index.md b/content/tv/_index.md
deleted file mode 100644
index 6233e48..0000000
--- a/content/tv/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: TV
----
-
-Here you can record TV shows that you watch.
diff --git a/content/tv/episodes/_index.md b/content/tv/episodes/_index.md
deleted file mode 100644
index cb3c211..0000000
--- a/content/tv/episodes/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: TV Episodes
----
-
-Here you can record TV show episodes that you watch.
diff --git a/content/tv/episodes/log/_index.md b/content/tv/episodes/log/_index.md
deleted file mode 100644
index e0adfa6..0000000
--- a/content/tv/episodes/log/_index.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: Watched
-slug: log
-weight: 2
----
-
-Here you can record TV show episodes that you have previously watched.
diff --git a/content/tv/series/_index.md b/content/tv/series/_index.md
deleted file mode 100644
index ba8de4d..0000000
--- a/content/tv/series/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: TV Series'
----
-
-Here you can record TV series' that you watch.
diff --git a/content/tv/series/current/_index.md b/content/tv/series/current/_index.md
deleted file mode 100644
index 8c6feea..0000000
--- a/content/tv/series/current/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Currently Watching
-weight: 1
----
-
-Here you can record TV series' that you are currently watching.
diff --git a/content/tv/series/log/_index.md b/content/tv/series/log/_index.md
deleted file mode 100644
index a88865c..0000000
--- a/content/tv/series/log/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Watched
-weight: 2
----
-
-Here you can record TV series' that you have previously watched.
diff --git a/content/tv/series/wishlist/_index.md b/content/tv/series/wishlist/_index.md
deleted file mode 100644
index 15b2275..0000000
--- a/content/tv/series/wishlist/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: To-Watch
-weight: 3
----
-
-Here you can record TV series' that you have would like to watch.
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index c58bfe7..ddac409 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -1,6 +1,5 @@
{{ define "title" }}
- {{ .Page.Title | plainify }} |
- {{ .Site.Title }}
+ {{ .Page.Title | plainify }} | {{ .Site.Title }}
{{ end }}
{{ define "main-class" }}--section{{ end }}
@@ -9,53 +8,42 @@
{{ define "item-type" }}{{ .Params.itemsType }}{{ end }}
{{ define "main-header" }}
-
- {{ .Title | safeHTML }}
- {{ range .AlternativeOutputFormats -}}
-
-
-
- {{ with ( default .Parent.Sections .Sections ) }}
-
- {{ end }}
-
-
-
-
- {{ end }}
-
{{ .Title | safeHTML }}
+ {{ range .AlternativeOutputFormats -}}
+
+
+ {{ .Content }}
+
+
+ {{ end }}
+
-{{ with .date_finished -}}
- {{- time.Format "Jan 2, 2006" . -}}
+ Unknown
+{{- end -}}–{{- with .date_finished -}}
+ {{- time.Format "Jan 2, 2006" . -}}
{{- else -}}
- Unknown
+ Unknown
{{- end -}}
diff --git a/layouts/partials/books/table-body.html b/layouts/partials/books/table-body.html
index 540cc2d..9fe5ffe 100644
--- a/layouts/partials/books/table-body.html
+++ b/layouts/partials/books/table-body.html
@@ -1,14 +1,7 @@
{{ if ( eq ( .Scratch.Get "listMode" ) "current" ) }}
{{ range ( sort $.Site.Data.books.current "date_started" "desc" ) }}
Comments: {{ . }}
- {{- end -}} -Comments: {{ . }}
+ {{- end -}} + -Comments: {{ . }}
- {{- end -}} -Comments: {{ . }}
+ {{- end -}} + -Comments: {{ . }}
- {{- end -}} -Comments: {{ . }}
+ {{- end -}} + -- Views my own. Discussion ≠ endorsement. Do try this at home. -
-Views my own. Discussion ≠ endorsement. Do try this at home.
+ diff --git a/layouts/partials/table.html b/layouts/partials/table.html index 4c6cb9f..45ea2bd 100644 --- a/layouts/partials/table.html +++ b/layouts/partials/table.html @@ -1,25 +1,16 @@ {{ if ( .Scratch.Get "listMode" ) }} -- {{ with .date_added }} - {{ time.Format "Jan 2, 2006" . }} - {{ else }} - n/a - {{ end }} - - | - -- {{- with ( index . "name" ) -}} - {{ . }} - {{- end -}} - | - -- {{- partial "books/rows/read-dates.html" . -}} - | -
- {{ with .date_added }} - {{ time.Format "Jan 2, 2006" . }} - {{ else }} - n/a - {{ end }} - - | - -- {{- with ( index . "name" ) -}} - {{ . }} - {{- end -}} - | - -- {{- partial "books/rows/read-dates.html" . -}} - | -
- {{ with .date_added }} - {{ time.Format "Jan 2, 2006" . }} - {{ else }} - n/a - {{ end }} - - | - -- {{- with ( index . "name" ) -}} - {{ . }} - {{- end -}} - | -Date Added | -Series Title | -{{ if ( not ( eq ( .Scratch.Get "listMode" ) "wishlist" ) ) }} -Dates Watched | -{{ end }} diff --git a/layouts/partials/tv/episodes/table-body.html b/layouts/partials/tv/table-body.html similarity index 100% rename from layouts/partials/tv/episodes/table-body.html rename to layouts/partials/tv/table-body.html diff --git a/layouts/partials/tv/episodes/table-header.html b/layouts/partials/tv/table-header.html similarity index 100% rename from layouts/partials/tv/episodes/table-header.html rename to layouts/partials/tv/table-header.html diff --git a/package-lock.json b/package-lock.json index acc732b..3a5989c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,6 @@ "markdownlint": "^0.37.3", "markdownlint-cli": "^0.43.0", "prettier": "^3.4.2", - "prettier-plugin-go-template": "^0.0.15", "stylelint": "^16.12.0", "stylelint-config-standard-scss": "^14.0.0", "stylelint-prettier": "^5.0.2", @@ -3460,22 +3459,6 @@ "node": ">=6.0.0" } }, - "node_modules/prettier-plugin-go-template": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/prettier-plugin-go-template/-/prettier-plugin-go-template-0.0.15.tgz", - "integrity": "sha512-WqU92E1NokWYNZ9mLE6ijoRg6LtIGdLMePt2C7UBDjXeDH9okcRI3zRqtnWR4s5AloiqyvZ66jNBAa9tmRY5EQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ulid": "^2.3.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "prettier": "^3.0.0" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -4386,16 +4369,6 @@ "dev": true, "license": "MIT" }, - "node_modules/ulid": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/ulid/-/ulid-2.3.0.tgz", - "integrity": "sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==", - "dev": true, - "license": "MIT", - "bin": { - "ulid": "bin/cli.js" - } - }, "node_modules/underscore": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", diff --git a/package.json b/package.json index 0b75307..c9d0881 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "markdownlint": "^0.37.3", "markdownlint-cli": "^0.43.0", "prettier": "^3.4.2", - "prettier-plugin-go-template": "^0.0.15", "stylelint": "^16.12.0", "stylelint-config-standard-scss": "^14.0.0", "stylelint-prettier": "^5.0.2",
---|