diff --git a/Archive.md b/Archive.md deleted file mode 100644 index fe56613..0000000 --- a/Archive.md +++ /dev/null @@ -1,9 +0,0 @@ -# Archived Pages - -- [Audiobook RSS Feed](Audiobook RSS Feed.md) - -### Configuration/Dotfiles - -- [i3](i3.md) -- Moved to Sway -- [Xinitrc](Xinitrc.md) -- Moved to Sway -- [Pkglists](Pkglists.md) -- Project abandoned. I install as I go nowadays. diff --git a/Ramblings.md b/Ramblings.md deleted file mode 100644 index fd018ea..0000000 --- a/Ramblings.md +++ /dev/null @@ -1,15 +0,0 @@ -= Ramblings = -Sometimes I just need to write shit down. - - -## LGBTQ+ -- [On Labels](On Labels.md) - - -### On Gender -- [Am I faking being trans?](am-i-faking-gender) - -### On Sexuality -- [Does experimenting make you any less straight?](experimenting-with-sexuality) -- [Should I come out while still questioning?](coming-out-while-questioning) -- Adolescence, fluidity, and communicating your truth -- [Do people actually desire physical affection?](desiring-physical-affection) -- Asexuality, relationships, and wtf is normalcy anyways? diff --git a/Tasks.md b/Tasks.md deleted file mode 100644 index d07ce59..0000000 --- a/Tasks.md +++ /dev/null @@ -1,16 +0,0 @@ -# Tasks - -## General - -## Wiki - -### Pages -- [ ] Thurstylark-VPS - - [ ] Cgit - - [ ] Apache - -### Template -- [ ] Figure out TOC -- [ ] Finish building out navbar -- [ ] Change page title to "Thurstylark Wiki -- %title%" -- [ ] Breadcrumbs? diff --git a/assets/css/dark.css b/assets/css/dark.css new file mode 100644 index 0000000..07b6810 --- /dev/null +++ b/assets/css/dark.css @@ -0,0 +1,43 @@ +{{ if not (eq .Site.Params.dark "on") -}} +@media (prefers-color-scheme: dark) { +{{ end -}} +body { + color: #ebebeb; + background: #121212; +} + +header#banner a { + color: #e0e0e0; + text-decoration: none; +} + +header#banner nav ul li a { + color: #cccccc; +} + +main#content a { + color: #00b1ed; +} + +main#content p { + color: #f5f5f5; +} + +main#content #toc h4 { + color: #d4d4d4; +} + +main#content ul#posts small { + color: #a7a7a7; +} + +main#content ul#posts li a:hover { + color: #21c7ff; +} + +main#content header#post-header time { + color: #a7a7a7; +} +{{- if not (eq .Site.Params.dark "on") -}} +} +{{- end -}} diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 0000000..dd65254 --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,264 @@ +*, *:before, *:after { + box-sizing: border-box; +} + +html { + font-size: 62.5%; +} + +body { + font-size: 16px; + font-size: 1.6rem; + font-family: 'Helvetica Neue', 'Arial', sans-serif; + color: #313a3d; + width: 100%; + margin: 0 auto; + padding: 0 16px; + line-height: 1.6; +} + +header#banner { + margin: 25px 0; +} + +header#banner a { + color: #313a3d; + text-decoration: none; +} + +header#banner a:hover { + text-decoration: underline; +} + +header#banner h2 { + display: inline; + font-size: 21px; + font-size: 2.1rem; + margin: 0 8px 0 0; +} + +header#banner nav { + display: inline-block; +} + +header#banner nav ul { + list-style-type: none; + font-size: 1.05em; + text-transform: lowercase; + margin: 0; + padding: 0; +} + +header#banner nav ul li { + display: inline; + margin: 0 3px; +} + +header#banner nav ul li a { + color: #454545; +} + +main#content a { + color: #007dfa; + text-decoration: none; +} + +main#content a:hover { + text-decoration: underline; +} + +main#content p { + color: #394548; + margin: 16px 0; +} + +main#content h1, +main#content h2, +main#content h3, +main#content h4, +main#content h5, +main#content h6 { + margin-bottom: 0; + line-height: 1.15; +} + +.title { + font-size: 26px; + font-size: 2.6rem; + margin-bottom: 0; + line-height: 1.15; +} + +main#content h1 + p, +main#content h2 + p, +main#content h3 + p, +main#content h4 + p, +main#content h5 + p, +main#content h6 + p { + margin-top: 5px; +} + +main#content h3 { + font-size: 19px; + font-size: 1.9rem; +} + +/* index.html styles */ +main#content ul#posts { + list-style-type: none; + font-size: 16px; + font-size: 1.6rem; + margin-top: 0; + padding: 0; +} + +main#content ul#posts li { + margin: 5px 0; + padding: 0; +} + +main#content ul#posts small { + font-size: 0.8em; + color: #767676; + margin-left: 10px; +} + +main#content ul#posts li a { + text-decoration: none; +} + +main#content ul#posts li a:hover { + color: #369aff; +} + +main#content ul#posts li a:hover small { + color: inherit; +} + +/* single.html styles */ +main#content header#post-header h1 { + display: block; + font-size: 23px; + font-size: 2.3rem; + line-height: 1.15; +} + +main#content header#post-header time { + display: block; + font-size: 0.85em; + color: #767676; +} + +main#content #toc { + border: 1px solid #b1b1b1; + border-radius: 1px; + line-height: 26px; + margin: 16px 0; + padding: 9px 14px; +} + +main#content #toc h4 { + font-size: 1.06em; + color: #3d3d3d; + margin: 0; +} + +main#content #toc nav#TableOfContents { + margin-top: 4px; +} + +main#content #toc nav#TableOfContents > ul, main#content #toc nav#TableOfContents > ol { + margin-left: -40px; +} + +main#content #toc ul, main#content #toc ol { + font-size: 0.98em; + margin: 0; + padding: 0 0 0 40px; +} + +main#content #toc ul { + list-style-type: none; +} + +main#content #toc ol { + counter-reset: item; +} + +main#content #toc ol li { + display: block; +} + +main#content #toc ol li:before { + content: counters(item, ".") ". "; + counter-increment: item; +} + +main#content img { + max-width: 100%; + margin: 0 auto; +} + +main#content figure { + margin: 16px 0; +} + +main#content figure img { + display: block; + max-width: 100%; + margin: 0 auto; +} + +main#content figure figcaption { + font-size: 0.92em; + font-style: italic; + line-height: 22px; + text-align: center; + margin-top: 6px; + padding: 0 10px; +} + +main#content figure figcaption h4 { + font-style: normal; + display: inline; + margin: 0; +} + +main#content figure figcaption p { + display: inline; + margin: 0; + padding-left: 8px; +} + +main#content code, +main#content pre { + font-family: 'Menlo', monospace; +} + +main#content code { + font-size: 0.96em; + padding: 0 5px; +} + +main#content pre { + display: block; + overflow-x: auto; + font-size: 14px; + font-size: 1.4rem; + white-space: pre; + margin: 20px 0; + padding: 1.5rem 1.5rem; + line-height: 1.4; +} + +main#content pre code { + padding: 0; +} + +footer#footer { + font-size: 14px; + font-size: 1.4rem; + font-weight: 300; + color: #949494; + margin: 40px 0; +} diff --git a/assets/css/min770px.css b/assets/css/min770px.css new file mode 100644 index 0000000..2731d4c --- /dev/null +++ b/assets/css/min770px.css @@ -0,0 +1,47 @@ +@media (min-width: 770px) { +body { + width: 600px; + line-height: 1.5; +} + +/* index.html styles */ +header#banner h2 { + font-size: 25px; + font-size: 2.5rem; +} + +main#content h3 { + font-size: 20px; + font-size: 2rem; +} + +main#content ul#posts { + font-size: 18px; + font-size: 1.8rem; +} + +/* single.html styles */ +main#content header#post-header h1 { + font-size: 26px; + font-size: 2.6rem; +} + +main#content img { + max-width: 108%; + margin-left: -3.8%; +} + +main#content figure { + margin-left: -3.8%; +} + +main#content figure img { + max-width: 108%; +} + +main#content pre { + width: 108%; + margin-left: -3.8%; + padding: 1.5rem 2.2rem; +} +} diff --git a/assets/css/syntax.css b/assets/css/syntax.css new file mode 100644 index 0000000..350286e --- /dev/null +++ b/assets/css/syntax.css @@ -0,0 +1,59 @@ +/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } +/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } +/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* Keyword */ .chroma .k { color: #66d9ef } +/* KeywordConstant */ .chroma .kc { color: #66d9ef } +/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } +/* KeywordNamespace */ .chroma .kn { color: #f92672 } +/* KeywordPseudo */ .chroma .kp { color: #66d9ef } +/* KeywordReserved */ .chroma .kr { color: #66d9ef } +/* KeywordType */ .chroma .kt { color: #66d9ef } +/* NameAttribute */ .chroma .na { color: #a6e22e } +/* NameClass */ .chroma .nc { color: #a6e22e } +/* NameConstant */ .chroma .no { color: #66d9ef } +/* NameDecorator */ .chroma .nd { color: #a6e22e } +/* NameException */ .chroma .ne { color: #a6e22e } +/* NameFunction */ .chroma .nf { color: #a6e22e } +/* NameOther */ .chroma .nx { color: #a6e22e } +/* NameTag */ .chroma .nt { color: #f92672 } +/* Literal */ .chroma .l { color: #ae81ff } +/* LiteralDate */ .chroma .ld { color: #e6db74 } +/* LiteralString */ .chroma .s { color: #e6db74 } +/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } +/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } +/* LiteralStringChar */ .chroma .sc { color: #e6db74 } +/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } +/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } +/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } +/* LiteralStringEscape */ .chroma .se { color: #ae81ff } +/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } +/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } +/* LiteralStringOther */ .chroma .sx { color: #e6db74 } +/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } +/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } +/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } +/* LiteralNumber */ .chroma .m { color: #ae81ff } +/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } +/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } +/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } +/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } +/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } +/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } +/* Operator */ .chroma .o { color: #f92672 } +/* OperatorWord */ .chroma .ow { color: #f92672 } +/* Comment */ .chroma .c { color: #75715e } +/* CommentHashbang */ .chroma .ch { color: #75715e } +/* CommentMultiline */ .chroma .cm { color: #75715e } +/* CommentSingle */ .chroma .c1 { color: #75715e } +/* CommentSpecial */ .chroma .cs { color: #75715e } +/* CommentPreproc */ .chroma .cp { color: #75715e } +/* CommentPreprocFile */ .chroma .cpf { color: #75715e } +/* GenericDeleted */ .chroma .gd { color: #f92672 } +/* GenericEmph */ .chroma .ge { font-style: italic } +/* GenericInserted */ .chroma .gi { color: #a6e22e } +/* GenericStrong */ .chroma .gs { font-weight: bold } +/* GenericSubheading */ .chroma .gu { color: #75715e } diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..2016e6e --- /dev/null +++ b/config.toml @@ -0,0 +1,5 @@ +languageCode = "en-us" +title = "Vimwiki" +baseURL = "https://git.thurstylark.com" +uglyURLs = true +pluralizelisttitles = false diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/content/archive/_index.md b/content/archive/_index.md new file mode 100644 index 0000000..9e6df1e --- /dev/null +++ b/content/archive/_index.md @@ -0,0 +1,5 @@ +--- +title: Archive +description: "Pages that aren't of much active use, but worth keeping around" +weight: 99 +--- diff --git a/Audiobook RSS Feed.md b/content/archive/audiobook-rss-feed.md similarity index 100% rename from Audiobook RSS Feed.md rename to content/archive/audiobook-rss-feed.md diff --git a/Automating Android App Builds.md b/content/archive/automating-android-app-builds.md similarity index 100% rename from Automating Android App Builds.md rename to content/archive/automating-android-app-builds.md diff --git a/i3.md b/content/archive/i3.md similarity index 100% rename from i3.md rename to content/archive/i3.md diff --git a/Pkglists.md b/content/archive/pkglists.md similarity index 100% rename from Pkglists.md rename to content/archive/pkglists.md diff --git a/Formatting Cheat Sheet.md b/content/archive/vimwiki-formatting-cheat-sheet.md similarity index 100% rename from Formatting Cheat Sheet.md rename to content/archive/vimwiki-formatting-cheat-sheet.md diff --git a/Xinitrc.md b/content/archive/xinitrc.md similarity index 100% rename from Xinitrc.md rename to content/archive/xinitrc.md diff --git a/contact.md b/content/contact.md similarity index 100% rename from contact.md rename to content/contact.md diff --git a/content/dotfiles/_index.md b/content/dotfiles/_index.md new file mode 100644 index 0000000..d8d7b4b --- /dev/null +++ b/content/dotfiles/_index.md @@ -0,0 +1,4 @@ +--- +title: Dotfiles +weight: 2 +--- diff --git a/Bashrc.md b/content/dotfiles/bashrc.md similarity index 100% rename from Bashrc.md rename to content/dotfiles/bashrc.md diff --git a/Chrome Search Shortcuts.md b/content/dotfiles/chrome-search-shortcuts.md similarity index 100% rename from Chrome Search Shortcuts.md rename to content/dotfiles/chrome-search-shortcuts.md diff --git a/SSH.md b/content/dotfiles/ssh.md similarity index 100% rename from SSH.md rename to content/dotfiles/ssh.md diff --git a/Weechat.md b/content/dotfiles/weechat.md similarity index 100% rename from Weechat.md rename to content/dotfiles/weechat.md diff --git a/index.md b/content/index.md similarity index 100% rename from index.md rename to content/index.md diff --git a/content/misc/_index.md b/content/misc/_index.md new file mode 100644 index 0000000..c9ec3b2 --- /dev/null +++ b/content/misc/_index.md @@ -0,0 +1,5 @@ +--- +title: Miscellaneous +description: "Various detritus deposited here" +weight: 98 +--- diff --git a/Links Of Infamy.md b/content/misc/links-of-infamy.md similarity index 100% rename from Links Of Infamy.md rename to content/misc/links-of-infamy.md diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..54530a6 --- /dev/null +++ b/content/projects/_index.md @@ -0,0 +1,4 @@ +--- +title: Projects +weight: 1 +--- diff --git a/Cgit.md b/content/projects/cgit.md similarity index 100% rename from Cgit.md rename to content/projects/cgit.md diff --git a/Vimwiki.md b/content/projects/vimwiki.md similarity index 100% rename from Vimwiki.md rename to content/projects/vimwiki.md diff --git a/content/ramblings/_index.md b/content/ramblings/_index.md new file mode 100644 index 0000000..ab23438 --- /dev/null +++ b/content/ramblings/_index.md @@ -0,0 +1,5 @@ +--- +title: Ramblings +description: "Non-technical musings, rants, or other such tomfoolery" +weight: 80 +--- diff --git a/content/ramblings/lgbt/_index.md b/content/ramblings/lgbt/_index.md new file mode 100644 index 0000000..3740fd4 --- /dev/null +++ b/content/ramblings/lgbt/_index.md @@ -0,0 +1,3 @@ +--- +title: "LGBTQ+" +--- diff --git a/content/ramblings/lgbt/on-gender/_index.md b/content/ramblings/lgbt/on-gender/_index.md new file mode 100644 index 0000000..6acd5b8 --- /dev/null +++ b/content/ramblings/lgbt/on-gender/_index.md @@ -0,0 +1,3 @@ +--- +title: "On Gender" +--- diff --git a/am-i-faking-gender.md b/content/ramblings/lgbt/on-gender/am-i-faking-gender.md similarity index 100% rename from am-i-faking-gender.md rename to content/ramblings/lgbt/on-gender/am-i-faking-gender.md diff --git a/On Labels.md b/content/ramblings/lgbt/on-labels.md similarity index 100% rename from On Labels.md rename to content/ramblings/lgbt/on-labels.md diff --git a/content/ramblings/lgbt/on-sexuality/_index.md b/content/ramblings/lgbt/on-sexuality/_index.md new file mode 100644 index 0000000..d8e648b --- /dev/null +++ b/content/ramblings/lgbt/on-sexuality/_index.md @@ -0,0 +1,3 @@ +--- +title: "On Sexuality" +--- diff --git a/coming-out-while-questioning.md b/content/ramblings/lgbt/on-sexuality/coming-out-while-questioning.md similarity index 100% rename from coming-out-while-questioning.md rename to content/ramblings/lgbt/on-sexuality/coming-out-while-questioning.md diff --git a/desiring-physical-affection.md b/content/ramblings/lgbt/on-sexuality/desiring-physical-affection.md similarity index 100% rename from desiring-physical-affection.md rename to content/ramblings/lgbt/on-sexuality/desiring-physical-affection.md diff --git a/experimenting-with-sexuality.md b/content/ramblings/lgbt/on-sexuality/experimenting-with-sexuality.md similarity index 100% rename from experimenting-with-sexuality.md rename to content/ramblings/lgbt/on-sexuality/experimenting-with-sexuality.md diff --git a/Stupid Crestron Quirks.md b/content/ramblings/stupid-crestron-quirks.md similarity index 100% rename from Stupid Crestron Quirks.md rename to content/ramblings/stupid-crestron-quirks.md diff --git a/content/reference/_index.md b/content/reference/_index.md new file mode 100644 index 0000000..d196629 --- /dev/null +++ b/content/reference/_index.md @@ -0,0 +1,5 @@ +--- +title: Reference +description: "Because sometimes the memory just needs a joggin'" +weight: 70 +--- diff --git a/Keyboard Mapping.md b/content/reference/keyboard-mapping.md similarity index 100% rename from Keyboard Mapping.md rename to content/reference/keyboard-mapping.md diff --git a/LetsEncrypt.md b/content/reference/letsencrypt.md similarity index 100% rename from LetsEncrypt.md rename to content/reference/letsencrypt.md diff --git a/Password-Store setup.md b/content/reference/password-store-setup.md similarity index 100% rename from Password-Store setup.md rename to content/reference/password-store-setup.md diff --git a/Thurstylark-VPS.md b/content/reference/thurstylark-vps.md similarity index 100% rename from Thurstylark-VPS.md rename to content/reference/thurstylark-vps.md diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..d663ad3 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..97af0e3 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{- partial "posts.html" . -}} +{{ end }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml new file mode 100644 index 0000000..fc37e65 --- /dev/null +++ b/layouts/_default/rss.xml @@ -0,0 +1,41 @@ +{{- $pctx := . -}} +{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} +{{- $pages := slice -}} +{{- if or $.IsHome $.IsSection -}} +{{- $pages = $pctx.RegularPages -}} +{{- else -}} +{{- $pages = $pctx.Pages -}} +{{- end -}} +{{- $limit := .Site.Config.Services.RSS.Limit -}} +{{- if ge $limit 1 -}} +{{- $pages = $pages | first $limit -}} +{{- end -}} +{{- printf "" | safeHTML }} + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + {{ range where .Site.Pages "Kind" "page" }} + {{ if or (eq .Section "posts") (eq .Section "post") }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Summary | html }} + + {{ end }} + {{ end }} + + diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..d2514c0 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,5 @@ +{{ define "main" }} + {{ .Content }} + + {{- partial "posts.html" . -}} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..7c78e66 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ {{- if isset .Params "date" -}} + + {{- end -}} +
+ {{- .Content -}} +
+{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..859b9b8 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,4 @@ +{{ define "main" }} +{{ .Content }} +{{- partial "posts.html" . -}} +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..73420ef --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..5fa3a6a --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,31 @@ + + + + {{ with .Site.Params.description -}} + + {{ end }} + {{ printf `` ("favicon.ico" | absURL) | safeHTML }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ $resources := slice -}} + + {{ $resources = $resources | append (resources.Get "css/main.css") -}} + + {{ $resources = $resources | append (resources.Get "css/min770px.css") -}} + + {{ $dark := .Site.Params.dark | default "auto" -}} + {{ if not (eq $dark "off") -}} + {{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}} + {{ end -}} + + {{ if .Site.Params.highlight -}} + {{ $resources = $resources | append (resources.Get "css/syntax.css") -}} + {{ end -}} + + {{ $css := $resources | resources.Concat "css/style.css" | minify }} + {{ printf `` $css.RelPermalink | safeHTML }} + + {{ .Title }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..5286f37 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,12 @@ + diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html new file mode 100644 index 0000000..456353f --- /dev/null +++ b/layouts/partials/posts.html @@ -0,0 +1,17 @@ +

All Pages in {{ with .Site.GetPage "section" .Section }} {{ .Title }} {{ end }}

+ diff --git a/layouts/partials/sections.html b/layouts/partials/sections.html new file mode 100644 index 0000000..d909b66 --- /dev/null +++ b/layouts/partials/sections.html @@ -0,0 +1,17 @@ +

Sections

+ +{{ range .Sections.ByWeight }} +
  • + + {{ with .Title }} + {{- . -}} + {{ else }} + {{- .Section -}} + {{ end }} + + {{ with .Description }} + -- {{.}} + {{ end }} +
  • +{{ end }} + diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html new file mode 100644 index 0000000..22da6e7 --- /dev/null +++ b/layouts/shortcodes/toc.html @@ -0,0 +1,4 @@ + diff --git a/vagst-testing.md b/vagst-testing.md deleted file mode 100644 index d0855e4..0000000 --- a/vagst-testing.md +++ /dev/null @@ -1,48 +0,0 @@ -# VA GST Testing - -## TODO - -- [ ] Finish info gathering script - - [ ] Add test cases for 30FPS for existing cases - - [ ] Implement special groups -- [ ] Create parse script - - [ ] pyparsing - - [ ] general info - - [ ] data - - [ ] matplotlib -- [ ] Package va264enc for independent install - - [ ] Debian - - [ ] Arch -- [ ] Create netboot image - - [ ] Debian - - [ ] Arch - - -## Situations - -- 1280x720 @30-@60 x1-x10 -- 640x360 @30-@60 x1-x10 -- Group 1 - - 1280x720 @30 x1 - - 1280x720 @30 x6 -- Group 2 - - 1280x720 @60 x1 - - 1280x720 @60 x6 - -## Parser Output - -- General info - - OS - - Kernel Version - - CPU generation - - Memory - - LibVA version - - VA-API version - - Gfx Driver version -- Render time per frame - - mean - - median - - mode - - max - -