~stick/hackwhacktackbang.fyi

0b41681d3b3eea08871f1c78926d4b322659e120 — Stick 3 years ago ae56d0f
switch to hmvt
6 files changed, 21 insertions(+), 18 deletions(-)

M .gitmodules
M config.toml
M content/_index.html
A layouts/index.html
A themes/hmvt
D themes/hugo-base
M .gitmodules => .gitmodules +3 -4
@@ 1,4 1,3 @@
[submodule "hugo-base"]
	path = themes/hugo-base
	url = https://git.sr.ht/~stick/hugo-base
	branch = master
[submodule "themes/hmvt"]
	path = themes/hmvt
	url = git@git.sr.ht:~stick/hmvt

M config.toml => config.toml +5 -9
@@ 1,8 1,8 @@
# Used in theme
baseURL = 'https://hackwhacktackbang.fyi'
copyright = '2019–2020'
copyright = '2019'
languageCode = 'en-us'
theme = 'hugo-base'
theme = 'hmvt'
title = 'Hack Whack Tack Bang'

# Other options


@@ 10,15 10,11 @@ rssLimit = 32
enableGitInfo = 'true'

[author]
	name = 'stick'
	name = 'Stick'
	email = 'stick@stma.is'
	twitter = 'nstickney'
	mastodon = '@stick@infosec.exchange'

[frontmatter]
	date = [':filename', ':default']
	publishDate = [':filename', ':default']

[params]
	authorMail = 'stick@stma.is'
	authorMastodon = 'https://infosec.exchange/@stick'


@@ 28,5 24,5 @@ enableGitInfo = 'true'
	iconSVG = 'images/logo.svg'
	logo = 'images/logo.svg'
	repo = 'https://git.sr.ht/stick/hackwhacktackbang.fyi'
	themeColor = '#0e1'
	themeHoverColor = '#3f5'
	themeColor = '#005706'
	themeColorDark = '#00ee11'

M content/_index.html => content/_index.html +8 -4
@@ 140,9 140,7 @@ plain=true
<h2 class="tooltip v-item">
  There is no such thing as forward slash.
  <aside>
    <p>
      Thank you for coming to my TED talk.
    </p>
    <p>Thank you for coming to my TED talk.</p>
  </aside>
</h2>
<ul>


@@ 150,7 148,7 @@ plain=true
  <li>Braces are <strong>{</strong>curly<strong>}</strong>.</li>
  <li>
    Pronounce "gif" with
    <a link="http://howtoreallypronouncegif.com/">a hard G</a>.
    <a href="http://howtoreallypronouncegif.com/">a hard G</a>.
  </li>
  <li>
    Arrays


@@ 159,4 157,10 @@ plain=true
      >start at 0</a
    >.
  </li>
  <li>
    Do not
    <a href="https://yihui.org/en/2017/08/source-code-as-screenshots/"
      >use screenshots to share code</a
    >.
  </li>
</ul>

A layouts/index.html => layouts/index.html +4 -0
@@ 0,0 1,4 @@
{{ define "body" }}
  <main>{{ .Content }}</main>
  {{ partial "footer.html" . }}
{{ end }}

A themes/hmvt => themes/hmvt +1 -0
@@ 0,0 1,1 @@
Subproject commit a0d855b05190bb008f1fcb71a3981af9317872ee

D themes/hugo-base => themes/hugo-base +0 -1
@@ 1,1 0,0 @@
Subproject commit d63d24838dd9beffcce6e05918bee205568975be