From 28864eeeb1e4d07dfba5d32b5db28aeb5ee4b401 Mon Sep 17 00:00:00 2001 From: Karl Date: Mon, 9 Dec 2019 20:43:28 -0700 Subject: About ready for release --- README.md | 6 ++++++ exampleSite/archetypes/default.md | 6 ++++++ exampleSite/config.toml | 15 +++++++++++++++ exampleSite/config_for_github_pages.toml | 15 +++++++++++++++ exampleSite/content/_index.md | 6 ++++++ exampleSite/content/awesome.md | 15 +++++++++++++++ exampleSite/content/cool.md | 15 +++++++++++++++ exampleSite/content/interesting.md | 15 +++++++++++++++ exampleSite/content/redir.md | 9 +++++++++ exampleSite/static/img/awebutton.jpg | Bin 0 -> 41455 bytes exampleSite/static/img/awesome01.jpg | Bin 0 -> 45712 bytes exampleSite/static/img/awesome02.jpg | Bin 0 -> 134665 bytes exampleSite/static/img/cool01.jpg | Bin 0 -> 157676 bytes exampleSite/static/img/coolbutton.jpg | Bin 0 -> 54113 bytes exampleSite/static/img/header01.jpg | Bin 0 -> 93378 bytes exampleSite/static/img/header02.jpg | Bin 0 -> 102832 bytes exampleSite/static/img/interesting01.jpg | Bin 0 -> 118034 bytes exampleSite/static/img/interestingbutton.jpg | Bin 0 -> 40293 bytes exampleSite/static/img/redirbutton.jpg | Bin 0 -> 42914 bytes exampleSite/themes/ticky_tacky_dark | 1 + layouts/404.html | 2 +- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 2 +- layouts/partials/body_header.html | 2 +- layouts/partials/foot.html | 4 ++-- layouts/partials/head.html | 8 ++++---- layouts/partials/navbar.html | 2 +- static/css/myprint.css | 2 +- static/css/myscreen.css | 2 +- theme.toml | 12 ++++++------ 30 files changed, 123 insertions(+), 20 deletions(-) create mode 100644 README.md create mode 100644 exampleSite/archetypes/default.md create mode 100644 exampleSite/config.toml create mode 100644 exampleSite/config_for_github_pages.toml create mode 100644 exampleSite/content/_index.md create mode 100644 exampleSite/content/awesome.md create mode 100644 exampleSite/content/cool.md create mode 100644 exampleSite/content/interesting.md create mode 100644 exampleSite/content/redir.md create mode 100644 exampleSite/static/img/awebutton.jpg create mode 100644 exampleSite/static/img/awesome01.jpg create mode 100644 exampleSite/static/img/awesome02.jpg create mode 100644 exampleSite/static/img/cool01.jpg create mode 100644 exampleSite/static/img/coolbutton.jpg create mode 100644 exampleSite/static/img/header01.jpg create mode 100644 exampleSite/static/img/header02.jpg create mode 100644 exampleSite/static/img/interesting01.jpg create mode 100644 exampleSite/static/img/interestingbutton.jpg create mode 100644 exampleSite/static/img/redirbutton.jpg create mode 120000 exampleSite/themes/ticky_tacky_dark diff --git a/README.md b/README.md new file mode 100644 index 0000000..0440269 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Page Construction +Navigation from the main page happens via a button image. These should be 300 pixels by 300 pixels. + +On sub-pages, images can appear on the left side. These should be 480 pixels by 800 pixels. + +In the headers, images should be 950 pixels by 200 pixels. diff --git a/exampleSite/archetypes/default.md b/exampleSite/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/exampleSite/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..0a5ba42 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,15 @@ +baseURL = "http://example.com/" +languageCode = "en-us" +title = "Ticky Tacky Dark" +theme = "ticky_tacky_dark" +#googleAnalytics = "" +disableKinds = ["taxonomy", "taxonomyTerm"] + +[params] + favicon = "favicon.ico" + webmasterEmail = "kc0bfv@gmail.com" + description = "The demonstration page for the Hugo Ticky Tacky Dark theme." + author = "kc0bfv@gmail.com" + headerimages = ["/img/header01.jpg", "/img/header02.jpg"] + #msvalidate = "" + #googlesiteverification = "" diff --git a/exampleSite/config_for_github_pages.toml b/exampleSite/config_for_github_pages.toml new file mode 100644 index 0000000..db14060 --- /dev/null +++ b/exampleSite/config_for_github_pages.toml @@ -0,0 +1,15 @@ +baseURL = "https://kc0bfv.github.io/ticky_tacky_dark/" +languageCode = "en-us" +title = "Ticky Tacky Dark" +theme = "ticky_tacky_dark" +#googleAnalytics = "" +disableKinds = ["taxonomy", "taxonomyTerm"] + +[params] + favicon = "favicon.ico" + webmasterEmail = "kc0bfv@gmail.com" + description = "The demonstration page for the Hugo Ticky Tacky Dark theme." + author = "kc0bfv@gmail.com" + headerimages = ["/img/header01.jpg", "/img/header02.jpg"] + #msvalidate = "" + #googlesiteverification = "" diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md new file mode 100644 index 0000000..5fdd3d6 --- /dev/null +++ b/exampleSite/content/_index.md @@ -0,0 +1,6 @@ +--- +title: "Main" +date: 2019-12-08T00:00:00-00:00 +draft: false +--- + diff --git a/exampleSite/content/awesome.md b/exampleSite/content/awesome.md new file mode 100644 index 0000000..046bd53 --- /dev/null +++ b/exampleSite/content/awesome.md @@ -0,0 +1,15 @@ +--- +title: "Awesome Page" +date: 2019-12-08T00:00:00-00:00 +buttonimage: "/img/awebutton.jpg" +sideimages: ["/img/awesome01.jpg", "/img/awesome02.jpg"] +sideimagealt: "Awesome Page Image" +draft: false +weight: 1 +--- +Here's some awesome text on an awesome page. That image on the left? It'll randomly change on load between the ones in "sideimages". + +
Stuff that drops down when you click on it: + diff --git a/exampleSite/content/cool.md b/exampleSite/content/cool.md new file mode 100644 index 0000000..029a8e2 --- /dev/null +++ b/exampleSite/content/cool.md @@ -0,0 +1,15 @@ +--- +title: "Cool Page" +date: 2019-12-08T00:00:00-00:00 +buttonimage: "/img/coolbutton.jpg" +sideimages: ["/img/cool01.jpg"] +sideimagealt: "Cool Page Image" +draft: false +weight: 4 +--- +Here's some cool text on a cool page. That image on the left? It'll randomly change on load between the ones in "sideimages". + +
Stuff that drops down when you click on it: + diff --git a/exampleSite/content/interesting.md b/exampleSite/content/interesting.md new file mode 100644 index 0000000..2236f63 --- /dev/null +++ b/exampleSite/content/interesting.md @@ -0,0 +1,15 @@ +--- +title: "Interesting Page" +date: 2019-12-08T00:00:00-00:00 +buttonimage: "/img/interestingbutton.jpg" +sideimages: ["/img/interesting01.jpg"] +sideimagealt: "Interesting Page Image" +draft: false +weight: 3 +--- +Here's some interesting text on an interesting page. That image on the left? It'll randomly change on load between the ones in "sideimages". + +
Stuff that drops down when you click on it: + diff --git a/exampleSite/content/redir.md b/exampleSite/content/redir.md new file mode 100644 index 0000000..a2f88b2 --- /dev/null +++ b/exampleSite/content/redir.md @@ -0,0 +1,9 @@ +--- +title: "Redirector - GoHugo" +date: 2019-12-08T00:00:00-00:00 +draft: false +buttonimage: "/img/redirbutton.jpg" +actualurl: "https://gohugo.io/" +weight: 2 +--- + diff --git a/exampleSite/static/img/awebutton.jpg b/exampleSite/static/img/awebutton.jpg new file mode 100644 index 0000000..4960312 Binary files /dev/null and b/exampleSite/static/img/awebutton.jpg differ diff --git a/exampleSite/static/img/awesome01.jpg b/exampleSite/static/img/awesome01.jpg new file mode 100644 index 0000000..c14dc9f Binary files /dev/null and b/exampleSite/static/img/awesome01.jpg differ diff --git a/exampleSite/static/img/awesome02.jpg b/exampleSite/static/img/awesome02.jpg new file mode 100644 index 0000000..d89d7b7 Binary files /dev/null and b/exampleSite/static/img/awesome02.jpg differ diff --git a/exampleSite/static/img/cool01.jpg b/exampleSite/static/img/cool01.jpg new file mode 100644 index 0000000..0505caf Binary files /dev/null and b/exampleSite/static/img/cool01.jpg differ diff --git a/exampleSite/static/img/coolbutton.jpg b/exampleSite/static/img/coolbutton.jpg new file mode 100644 index 0000000..4c407b4 Binary files /dev/null and b/exampleSite/static/img/coolbutton.jpg differ diff --git a/exampleSite/static/img/header01.jpg b/exampleSite/static/img/header01.jpg new file mode 100644 index 0000000..7543cd5 Binary files /dev/null and b/exampleSite/static/img/header01.jpg differ diff --git a/exampleSite/static/img/header02.jpg b/exampleSite/static/img/header02.jpg new file mode 100644 index 0000000..9288f11 Binary files /dev/null and b/exampleSite/static/img/header02.jpg differ diff --git a/exampleSite/static/img/interesting01.jpg b/exampleSite/static/img/interesting01.jpg new file mode 100644 index 0000000..399195e Binary files /dev/null and b/exampleSite/static/img/interesting01.jpg differ diff --git a/exampleSite/static/img/interestingbutton.jpg b/exampleSite/static/img/interestingbutton.jpg new file mode 100644 index 0000000..71c8db2 Binary files /dev/null and b/exampleSite/static/img/interestingbutton.jpg differ diff --git a/exampleSite/static/img/redirbutton.jpg b/exampleSite/static/img/redirbutton.jpg new file mode 100644 index 0000000..2ed42a2 Binary files /dev/null and b/exampleSite/static/img/redirbutton.jpg differ diff --git a/exampleSite/themes/ticky_tacky_dark b/exampleSite/themes/ticky_tacky_dark new file mode 120000 index 0000000..6581736 --- /dev/null +++ b/exampleSite/themes/ticky_tacky_dark @@ -0,0 +1 @@ +../../ \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html index b4eba3e..63014f6 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,7 @@ {{ define "main" }}
{{ with .Params.sideimages }} - + {{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a49703f..0a8f995 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,8 @@ {{ define "main" }} {{ range .Site.RegularPages.ByWeight }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 12b8808..7bfcaf9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }}
{{ with .Params.sideimages }} - {{ $.Params.sideimagealt }} + {{ $.Params.sideimagealt }} {{ end }}
diff --git a/layouts/partials/body_header.html b/layouts/partials/body_header.html index 65334d4..7fbbdea 100644 --- a/layouts/partials/body_header.html +++ b/layouts/partials/body_header.html @@ -1 +1 @@ -notmet.net header image +notmet.net header image diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html index cda9879..286cb6b 100644 --- a/layouts/partials/foot.html +++ b/layouts/partials/foot.html @@ -12,7 +12,7 @@ images = [ {{- $last_elem := sub (len .) 1 -}} {{ range $index, $component := . -}} - {{ . }}{{ if lt $index $last_elem }},{{ end }} + {{ . | relURL }}{{ if lt $index $last_elem }},{{ end }} {{- end -}} ]; i = Math.ceil(Math.random() * images.length) - 1; @@ -26,7 +26,7 @@ images = [ {{- $last_elem := sub (len .) 1 -}} {{ range $index, $component := . -}} - {{ . }}{{ if lt $index $last_elem }},{{ end }} + {{ . | relURL }}{{ if lt $index $last_elem }},{{ end }} {{- end -}} ]; i = Math.ceil(Math.random() * images.length) - 1; diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 67bd42b..1c9a652 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,12 +11,12 @@ {{- if isset .Site.Params "author" -}} {{- $.Scratch.Set "author" .Site.Params.author -}} {{- end -}} {{- end }} {{ with $.Scratch.Get "author" -}}{{- end }} - + {{ .Site.Title }}{{ with .Params.title }} - {{ . }}{{ end }} {{ with .Params.actualurl }} - + {{ end }} @@ -32,8 +32,8 @@ - - + + {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 1af7cc7..bb4aa81 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -7,7 +7,7 @@ {{- if eq . $ -}} {{ .Title }} {{- else -}} - {{ .Title }} + {{ .Title }} {{- end -}} {{- end }} diff --git a/static/css/myprint.css b/static/css/myprint.css index e5b7cff..5f27a36 100644 --- a/static/css/myprint.css +++ b/static/css/myprint.css @@ -1,4 +1,4 @@ -@import url("/css/myboth.css"); +@import url("myboth.css"); body { background:white; color: #000; } h1, h2, h3, h4, h5, h6 { color: #000; } diff --git a/static/css/myscreen.css b/static/css/myscreen.css index 2eb2a63..2fd2529 100644 --- a/static/css/myscreen.css +++ b/static/css/myscreen.css @@ -1,4 +1,4 @@ -@import url("/css/myboth.css"); +@import url("myboth.css"); body { background:black; color: #ddd; } h1, h2, h3, h4, h5, h6 { color: #eee; } diff --git a/theme.toml b/theme.toml index a87c00f..c055590 100644 --- a/theme.toml +++ b/theme.toml @@ -1,14 +1,14 @@ # theme.toml template for a Hugo theme # See https://github.com/gohugoio/hugoThemes#themetoml for an example -name = "Ticky_tacky_dark" +name = "Ticky_Tacky_Dark" license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" -description = "" -homepage = "http://example.com/" -tags = [] +licenselink = "https://github.com/kc0bfv/ticky_tacky_dark/blob/master/LICENSE" +description = "Ticky Tacky Dark's front page is a set of little boxes, all the same, containing pictures that represent your site's pages." +homepage = "https://github.com/kc0bfv/ticky_tacky_dark/" +tags = ["responsive", "bootstrap", "personal", "blog", "mobile", "dark", "creative", "images", "multipage"] features = [] -min_version = "0.41" +min_version = "0.40" [author] name = "kc0bfv" -- cgit v1.2.3