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

github.com/kc0bfv/ticky_tacky_dark.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl <kc0bfv@gmail.com>2019-12-10 06:43:28 +0300
committerKarl <kc0bfv@gmail.com>2019-12-10 06:43:28 +0300
commit28864eeeb1e4d07dfba5d32b5db28aeb5ee4b401 (patch)
tree811d7a6a88cf09ab64cbc394ecb654d276a90f16
parenta5bb76fc2a35eda01e1775b69116df4d5861ae67 (diff)
About ready for release
-rw-r--r--README.md6
-rw-r--r--exampleSite/archetypes/default.md6
-rw-r--r--exampleSite/config.toml15
-rw-r--r--exampleSite/config_for_github_pages.toml15
-rw-r--r--exampleSite/content/_index.md6
-rw-r--r--exampleSite/content/awesome.md15
-rw-r--r--exampleSite/content/cool.md15
-rw-r--r--exampleSite/content/interesting.md15
-rw-r--r--exampleSite/content/redir.md9
-rw-r--r--exampleSite/static/img/awebutton.jpgbin0 -> 41455 bytes
-rw-r--r--exampleSite/static/img/awesome01.jpgbin0 -> 45712 bytes
-rw-r--r--exampleSite/static/img/awesome02.jpgbin0 -> 134665 bytes
-rw-r--r--exampleSite/static/img/cool01.jpgbin0 -> 157676 bytes
-rw-r--r--exampleSite/static/img/coolbutton.jpgbin0 -> 54113 bytes
-rw-r--r--exampleSite/static/img/header01.jpgbin0 -> 93378 bytes
-rw-r--r--exampleSite/static/img/header02.jpgbin0 -> 102832 bytes
-rw-r--r--exampleSite/static/img/interesting01.jpgbin0 -> 118034 bytes
-rw-r--r--exampleSite/static/img/interestingbutton.jpgbin0 -> 40293 bytes
-rw-r--r--exampleSite/static/img/redirbutton.jpgbin0 -> 42914 bytes
l---------exampleSite/themes/ticky_tacky_dark1
-rw-r--r--layouts/404.html2
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/body_header.html2
-rw-r--r--layouts/partials/foot.html4
-rw-r--r--layouts/partials/head.html8
-rw-r--r--layouts/partials/navbar.html2
-rw-r--r--static/css/myprint.css2
-rw-r--r--static/css/myscreen.css2
-rw-r--r--theme.toml12
30 files changed, 123 insertions, 20 deletions
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".
+
+<br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a>
+ <div id="drop_stuff" style="display:none">
+ This stuff drops down because you clicked on the text.
+ </div>
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".
+
+<br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a>
+ <div id="drop_stuff" style="display:none">
+ This stuff drops down because you clicked on the text.
+ </div>
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".
+
+<br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a>
+ <div id="drop_stuff" style="display:none">
+ This stuff drops down because you clicked on the text.
+ </div>
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
--- /dev/null
+++ b/exampleSite/static/img/awebutton.jpg
Binary files differ
diff --git a/exampleSite/static/img/awesome01.jpg b/exampleSite/static/img/awesome01.jpg
new file mode 100644
index 0000000..c14dc9f
--- /dev/null
+++ b/exampleSite/static/img/awesome01.jpg
Binary files differ
diff --git a/exampleSite/static/img/awesome02.jpg b/exampleSite/static/img/awesome02.jpg
new file mode 100644
index 0000000..d89d7b7
--- /dev/null
+++ b/exampleSite/static/img/awesome02.jpg
Binary files differ
diff --git a/exampleSite/static/img/cool01.jpg b/exampleSite/static/img/cool01.jpg
new file mode 100644
index 0000000..0505caf
--- /dev/null
+++ b/exampleSite/static/img/cool01.jpg
Binary files differ
diff --git a/exampleSite/static/img/coolbutton.jpg b/exampleSite/static/img/coolbutton.jpg
new file mode 100644
index 0000000..4c407b4
--- /dev/null
+++ b/exampleSite/static/img/coolbutton.jpg
Binary files differ
diff --git a/exampleSite/static/img/header01.jpg b/exampleSite/static/img/header01.jpg
new file mode 100644
index 0000000..7543cd5
--- /dev/null
+++ b/exampleSite/static/img/header01.jpg
Binary files differ
diff --git a/exampleSite/static/img/header02.jpg b/exampleSite/static/img/header02.jpg
new file mode 100644
index 0000000..9288f11
--- /dev/null
+++ b/exampleSite/static/img/header02.jpg
Binary files differ
diff --git a/exampleSite/static/img/interesting01.jpg b/exampleSite/static/img/interesting01.jpg
new file mode 100644
index 0000000..399195e
--- /dev/null
+++ b/exampleSite/static/img/interesting01.jpg
Binary files differ
diff --git a/exampleSite/static/img/interestingbutton.jpg b/exampleSite/static/img/interestingbutton.jpg
new file mode 100644
index 0000000..71c8db2
--- /dev/null
+++ b/exampleSite/static/img/interestingbutton.jpg
Binary files differ
diff --git a/exampleSite/static/img/redirbutton.jpg b/exampleSite/static/img/redirbutton.jpg
new file mode 100644
index 0000000..2ed42a2
--- /dev/null
+++ b/exampleSite/static/img/redirbutton.jpg
Binary files 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" }}
<div class="col-12 col-sm-5">
{{ with .Params.sideimages }}
- <img id="sideimage" class="morerounded" src="/img/side_image_template.png">
+ <img id="sideimage" class="morerounded" src="/img/side_image_template.png | relURL">
{{ end }}
</div>
<div class="col-12 col-sm-7">
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 }}
<div class="col col-12 col-lg-6 imgbtntxt">
- <a class="imgbtntxt" href="{{ with .Params.actualurl }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}">
- <img class="morerounded" height="300" width="300" src="{{ .Params.buttonimage }}" alt="{{ .Title }}">
+ <a class="imgbtntxt" href="{{ with .Params.actualurl }}{{ . | relURL }}{{ else }}{{ .Permalink | relURL }}{{ end }}">
+ <img class="morerounded" height="300" width="300" src="{{ .Params.buttonimage | relURL }}" alt="{{ .Title }}">
<br>{{ .Title }}
</a>
</div>
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" }}
<div class="col-12 col-sm-5">
{{ with .Params.sideimages }}
- <img id="sideimage" class="morerounded" src="/img/side_image_template.png" alt="{{ $.Params.sideimagealt }}">
+ <img id="sideimage" class="morerounded" src="{{ "/img/side_image_template.png" | relURL }}" alt="{{ $.Params.sideimagealt }}">
{{ end }}
</div>
<div class="col-12 col-sm-7">
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 @@
-<img id="headerimg" class="veryrounded" src="/img/header_template.png" alt="notmet.net header image">
+<img id="headerimg" class="veryrounded" src="{{ "/img/header_template.png" | relURL }}" alt="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" -}}<meta name="author" content="{{ . }}">{{- end }}
-<link rel="icon" href="/{{ .Site.Params.favicon }}">
+<link rel="icon" href="{{ .Site.Params.favicon | relURL }}">
<title>{{ .Site.Title }}{{ with .Params.title }} - {{ . }}{{ end }}</title>
{{ with .Params.actualurl }}
-<meta http-equiv="refresh" content="0;URL='{{ . }}'" />
+<meta http-equiv="refresh" content="0;URL='{{ . | relURL }}'" />
{{ end }}
<!-- SEO Prefs -->
@@ -32,8 +32,8 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--My CSS-->
-<link rel="stylesheet" href="/css/myscreen.css" type="text/css" media="screen">
-<link rel="stylesheet" href="/css/myprint.css" type="text/css" media="print">
+<link rel="stylesheet" href="{{ "/css/myscreen.css" | relURL }}" type="text/css" media="screen">
+<link rel="stylesheet" href="{{ "/css/myprint.css" | relURL }}" type="text/css" media="print">
<meta name="theme-color" content="black">
{{ 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 -}}
- <a href="{{ with .Params.actualurl }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}">{{ .Title }}</a>
+ <a href="{{ with .Params.actualurl }}{{ . | relURL }}{{ else }}{{ .Permalink }}{{ end }}">{{ .Title }}</a>
{{- end -}}
</li>
{{- 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"