mirror of https://github.com/kc0bfv/ticky_tacky_dark.git

Karl
10.43.2019 28864eeeb1e4d07dfba5d32b5db28aeb5ee4b401
About ready for release
10 files modified
20 files added
143 ■■■■ changed files
README.md 6 ●●●●● patch | view | raw | blame | history
exampleSite/archetypes/default.md 6 ●●●●● patch | view | raw | blame | history
exampleSite/config.toml 15 ●●●●● patch | view | raw | blame | history
exampleSite/config_for_github_pages.toml 15 ●●●●● patch | view | raw | blame | history
exampleSite/content/_index.md 6 ●●●●● patch | view | raw | blame | history
exampleSite/content/awesome.md 15 ●●●●● patch | view | raw | blame | history
exampleSite/content/cool.md 15 ●●●●● patch | view | raw | blame | history
exampleSite/content/interesting.md 15 ●●●●● patch | view | raw | blame | history
exampleSite/content/redir.md 9 ●●●●● patch | view | raw | blame | history
exampleSite/static/img/awebutton.jpg patch | view | raw | blame | history
exampleSite/static/img/awesome01.jpg patch | view | raw | blame | history
exampleSite/static/img/awesome02.jpg patch | view | raw | blame | history
exampleSite/static/img/cool01.jpg patch | view | raw | blame | history
exampleSite/static/img/coolbutton.jpg patch | view | raw | blame | history
exampleSite/static/img/header01.jpg patch | view | raw | blame | history
exampleSite/static/img/header02.jpg patch | view | raw | blame | history
exampleSite/static/img/interesting01.jpg patch | view | raw | blame | history
exampleSite/static/img/interestingbutton.jpg patch | view | raw | blame | history
exampleSite/static/img/redirbutton.jpg patch | view | raw | blame | history
exampleSite/themes/ticky_tacky_dark 1 ●●●● patch | view | raw | blame | history
layouts/404.html 2 ●●● patch | view | raw | blame | history
layouts/_default/list.html 4 ●●●● patch | view | raw | blame | history
layouts/_default/single.html 2 ●●● patch | view | raw | blame | history
layouts/partials/body_header.html 2 ●●● patch | view | raw | blame | history
layouts/partials/foot.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/head.html 8 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html 2 ●●● patch | view | raw | blame | history
static/css/myprint.css 2 ●●● patch | view | raw | blame | history
static/css/myscreen.css 2 ●●● patch | view | raw | blame | history
theme.toml 12 ●●●● patch | view | raw | blame | history
README.md
New file
@@ -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.
exampleSite/archetypes/default.md
New file
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
exampleSite/config.toml
New file
@@ -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 = ""
exampleSite/config_for_github_pages.toml
New file
@@ -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 = ""
exampleSite/content/_index.md
New file
@@ -0,0 +1,6 @@
---
title: "Main"
date: 2019-12-08T00:00:00-00:00
draft: false
---
exampleSite/content/awesome.md
New file
@@ -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>
exampleSite/content/cool.md
New file
@@ -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>
exampleSite/content/interesting.md
New file
@@ -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>
exampleSite/content/redir.md
New file
@@ -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
---
exampleSite/static/img/awebutton.jpg
exampleSite/static/img/awesome01.jpg
exampleSite/static/img/awesome02.jpg
exampleSite/static/img/cool01.jpg
exampleSite/static/img/coolbutton.jpg
exampleSite/static/img/header01.jpg
exampleSite/static/img/header02.jpg
exampleSite/static/img/interesting01.jpg
exampleSite/static/img/interestingbutton.jpg
exampleSite/static/img/redirbutton.jpg
exampleSite/themes/ticky_tacky_dark
New file
@@ -0,0 +1 @@
../../
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">
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>
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">
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">
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;
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" . }}
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 }}
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; }
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; }
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"