diff options
| author | triethyl <triethylammonium@pm.me> | 2025-10-13 12:00:03 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-10-13 12:00:03 -0400 |
| commit | 2496db965db4fa48197cb31c7750b2a16523ed32 (patch) | |
| tree | ce174f1f94426c8727a31680e0c8e415e998ba66 /site | |
| parent | b2393801585b7e152ffbffb3226f720e66454ea6 (diff) | |
renamed theme and added content
Diffstat (limited to 'site')
| -rw-r--r-- | site/content/_index.md | 2 | ||||
| -rw-r--r-- | site/content/about-this-site.md | 2 | ||||
| -rw-r--r-- | site/content/posts/first.md | 5 | ||||
| -rw-r--r-- | site/hugo.toml | 2 | ||||
| -rw-r--r-- | site/themes/sine/README.md (renamed from site/themes/hugo-starter/README.md) | 0 | ||||
| -rw-r--r-- | site/themes/sine/archetypes/default.md (renamed from site/themes/hugo-starter/archetypes/default.md) | 0 | ||||
| -rw-r--r-- | site/themes/sine/config.toml (renamed from site/themes/hugo-starter/config.toml) | 4 | ||||
| -rw-r--r-- | site/themes/sine/config/_default/hugo.toml (renamed from site/themes/hugo-starter/config/_default/hugo.toml) | 0 | ||||
| -rw-r--r-- | site/themes/sine/exampleSite/config.toml (renamed from site/themes/hugo-starter/exampleSite/config.toml) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/404.html (renamed from site/themes/hugo-starter/layouts/404.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/_default/baseof.html (renamed from site/themes/hugo-starter/layouts/_default/baseof.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/_default/list.html (renamed from site/themes/hugo-starter/layouts/_default/list.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/_default/single.html (renamed from site/themes/hugo-starter/layouts/_default/single.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/index.html (renamed from site/themes/hugo-starter/layouts/index.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/partials/footer.html (renamed from site/themes/hugo-starter/layouts/partials/footer.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/partials/head.html (renamed from site/themes/hugo-starter/layouts/partials/head.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/partials/header.html (renamed from site/themes/hugo-starter/layouts/partials/header.html) | 0 | ||||
| -rw-r--r-- | site/themes/sine/layouts/partials/nav.html (renamed from site/themes/hugo-starter/layouts/partials/nav.html) | 6 | ||||
| -rw-r--r-- | site/themes/sine/static/css/style.css (renamed from site/themes/hugo-starter/static/css/style.css) | 7 | ||||
| -rw-r--r-- | site/themes/sine/static/css/syntax-old.css | 88 | ||||
| -rw-r--r-- | site/themes/sine/static/css/syntax.css | 146 | ||||
| -rw-r--r-- | site/themes/sine/static/css/themes/oxocarbon-dark.css (renamed from site/themes/hugo-starter/static/css/themes/oxocarbon-dark.css) | 0 | ||||
| -rw-r--r-- | site/themes/sine/static/css/themes/oxocarbon-light.css (renamed from site/themes/hugo-starter/static/css/themes/oxocarbon-light.css) | 0 | ||||
| -rw-r--r-- | site/themes/sine/static/js/background.js (renamed from site/themes/hugo-starter/static/js/background.js) | 0 | ||||
| -rw-r--r-- | site/themes/sine/static/js/switch-theme.js (renamed from site/themes/hugo-starter/static/js/switch-theme.js) | 0 | ||||
| m--------- | site/themes/terminal | 0 | ||||
| -rw-r--r-- | site/themes/tui/assets/css/main.css | 4 | ||||
| -rw-r--r-- | site/themes/tui/assets/js/main.js | 11 | ||||
| -rw-r--r-- | site/themes/tui/layouts/_default/baseof.html | 14 | ||||
| -rw-r--r-- | site/themes/tui/layouts/_default/list.html | 7 | ||||
| -rw-r--r-- | site/themes/tui/layouts/_default/single.html | 7 | ||||
| -rw-r--r-- | site/themes/tui/layouts/index.html | 4 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/css.html | 4 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/footer.html | 1 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/head.html | 4 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/header.html | 5 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/listitem.html | 10 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/scripts.html | 4 | ||||
| -rw-r--r-- | site/themes/tui/layouts/partials/tags.html | 3 |
39 files changed, 256 insertions, 84 deletions
diff --git a/site/content/_index.md b/site/content/_index.md index e09c08c..d5dde2e 100644 --- a/site/content/_index.md +++ b/site/content/_index.md @@ -1,5 +1,7 @@ # Welcome to my site! +Sorry that this site is short on content right now. I haven't had much time to work on it recently. + I'm Lucas, but I go by culsans online. I like computer science, FPV drone flying, and scuba diving. [About this site.](./about-this-site) diff --git a/site/content/about-this-site.md b/site/content/about-this-site.md index cc5f77f..9cbd2b6 100644 --- a/site/content/about-this-site.md +++ b/site/content/about-this-site.md @@ -6,4 +6,4 @@ title = 'About this site' This site was made with the Hugo static site generator with my own custom theme. -All CSS and HTML was written by me except the animated background, which was drawn by me and programmed by an AI because I don't have the time or will to learn JS. I generally dislike it but it's definitely useful sometimes. +All CSS and HTML was written by me except the animated background, which was drawn by me and programmed by an AI because I don't have enough free time to learn JavaScript. I generally dislike it but it can be useful sometimes. diff --git a/site/content/posts/first.md b/site/content/posts/first.md index fcfff8e..9e87045 100644 --- a/site/content/posts/first.md +++ b/site/content/posts/first.md @@ -9,6 +9,11 @@ hello this is a post **bold** this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line this is a really long line +```python +def hello(): + print("hello") +``` + - item1 - item2 - item3 diff --git a/site/hugo.toml b/site/hugo.toml index 6c1f596..b21c083 100644 --- a/site/hugo.toml +++ b/site/hugo.toml @@ -1,7 +1,7 @@ baseURL = 'https://culsans.site/' languageCode = 'en-us' title = 'culsans.site' -theme = 'hugo-starter' +theme = 'sine' [menus] [[menus.main]] diff --git a/site/themes/hugo-starter/README.md b/site/themes/sine/README.md index 12cbe06..12cbe06 100644 --- a/site/themes/hugo-starter/README.md +++ b/site/themes/sine/README.md diff --git a/site/themes/hugo-starter/archetypes/default.md b/site/themes/sine/archetypes/default.md index fdccff8..fdccff8 100644 --- a/site/themes/hugo-starter/archetypes/default.md +++ b/site/themes/sine/archetypes/default.md diff --git a/site/themes/hugo-starter/config.toml b/site/themes/sine/config.toml index cbc85dd..70ffb67 100644 --- a/site/themes/hugo-starter/config.toml +++ b/site/themes/sine/config.toml @@ -11,3 +11,7 @@ envelope1Amp = 120 envelope2Freq = 0.0005 envelope2Amp = 200 + +# Required for Chroma and the custom syntax highlighting. +[markup.highlight] + noClasses = false diff --git a/site/themes/hugo-starter/config/_default/hugo.toml b/site/themes/sine/config/_default/hugo.toml index e69de29..e69de29 100644 --- a/site/themes/hugo-starter/config/_default/hugo.toml +++ b/site/themes/sine/config/_default/hugo.toml diff --git a/site/themes/hugo-starter/exampleSite/config.toml b/site/themes/sine/exampleSite/config.toml index ff46f8e..ff46f8e 100644 --- a/site/themes/hugo-starter/exampleSite/config.toml +++ b/site/themes/sine/exampleSite/config.toml diff --git a/site/themes/hugo-starter/layouts/404.html b/site/themes/sine/layouts/404.html index 12883f1..12883f1 100644 --- a/site/themes/hugo-starter/layouts/404.html +++ b/site/themes/sine/layouts/404.html diff --git a/site/themes/hugo-starter/layouts/_default/baseof.html b/site/themes/sine/layouts/_default/baseof.html index 89f10a8..89f10a8 100644 --- a/site/themes/hugo-starter/layouts/_default/baseof.html +++ b/site/themes/sine/layouts/_default/baseof.html diff --git a/site/themes/hugo-starter/layouts/_default/list.html b/site/themes/sine/layouts/_default/list.html index c51e7d6..c51e7d6 100644 --- a/site/themes/hugo-starter/layouts/_default/list.html +++ b/site/themes/sine/layouts/_default/list.html diff --git a/site/themes/hugo-starter/layouts/_default/single.html b/site/themes/sine/layouts/_default/single.html index 3ba2777..3ba2777 100644 --- a/site/themes/hugo-starter/layouts/_default/single.html +++ b/site/themes/sine/layouts/_default/single.html diff --git a/site/themes/hugo-starter/layouts/index.html b/site/themes/sine/layouts/index.html index 2acde8d..2acde8d 100644 --- a/site/themes/hugo-starter/layouts/index.html +++ b/site/themes/sine/layouts/index.html diff --git a/site/themes/hugo-starter/layouts/partials/footer.html b/site/themes/sine/layouts/partials/footer.html index 24373ca..24373ca 100644 --- a/site/themes/hugo-starter/layouts/partials/footer.html +++ b/site/themes/sine/layouts/partials/footer.html diff --git a/site/themes/hugo-starter/layouts/partials/head.html b/site/themes/sine/layouts/partials/head.html index e7c23e5..e7c23e5 100644 --- a/site/themes/hugo-starter/layouts/partials/head.html +++ b/site/themes/sine/layouts/partials/head.html diff --git a/site/themes/hugo-starter/layouts/partials/header.html b/site/themes/sine/layouts/partials/header.html index e69de29..e69de29 100644 --- a/site/themes/hugo-starter/layouts/partials/header.html +++ b/site/themes/sine/layouts/partials/header.html diff --git a/site/themes/hugo-starter/layouts/partials/nav.html b/site/themes/sine/layouts/partials/nav.html index cef3405..efd7e5b 100644 --- a/site/themes/hugo-starter/layouts/partials/nav.html +++ b/site/themes/sine/layouts/partials/nav.html @@ -1,9 +1,7 @@ <header class="site-header"> <nav class="navbar"> - <div> - <a class="logo" href="{{ .Site.BaseURL }}"> - {{ .Site.Title }} - </a> + <div id="logoContainer"> + <a class="logo" href="{{ .Site.BaseURL }}">{{- .Site.Title -}}</a> <button type="button" id="toggleTheme" data-theme-toggle aria-label="switch theme"></button> </div> <ul class="nav-links"> diff --git a/site/themes/hugo-starter/static/css/style.css b/site/themes/sine/static/css/style.css index 030ba78..c14e227 100644 --- a/site/themes/hugo-starter/static/css/style.css +++ b/site/themes/sine/static/css/style.css @@ -14,6 +14,10 @@ margin: -4px 2px; } +#logoContainer { + padding-right: 4px; +} + /* FONT */ @font-face { @@ -177,3 +181,6 @@ body { #content footer p { margin-bottom: 0; } + +/* SYNTAX HIGHLIGHTING */ +@import url('syntax.css'); diff --git a/site/themes/sine/static/css/syntax-old.css b/site/themes/sine/static/css/syntax-old.css new file mode 100644 index 0000000..5f5478f --- /dev/null +++ b/site/themes/sine/static/css/syntax-old.css @@ -0,0 +1,88 @@ +/* Generated using: hugo gen chromastyles --style=monokai */ + +/* Background */ .bg { color:#f8f8f2;background-color:#272822; } +/* PreWrapper */ .chroma { color:#f8f8f2;background-color:#272822; } +/* Other */ .chroma .x { } +/* Error */ .chroma .err { color:#960050;background-color:#1e0010 } +/* CodeLine */ .chroma .cl { } +/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit } +/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; } +/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; } +/* LineHighlight */ .chroma .hl { background-color:#3c3d38 } +/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f } +/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f } +/* Line */ .chroma .line { display:flex; } +/* 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 } +/* Name */ .chroma .n { } +/* NameAttribute */ .chroma .na { color:#a6e22e } +/* NameClass */ .chroma .nc { color:#a6e22e } +/* NameConstant */ .chroma .no { color:#66d9ef } +/* NameDecorator */ .chroma .nd { color:#a6e22e } +/* NameEntity */ .chroma .ni { } +/* NameException */ .chroma .ne { color:#a6e22e } +/* NameLabel */ .chroma .nl { } +/* NameNamespace */ .chroma .nn { } +/* NameOther */ .chroma .nx { color:#a6e22e } +/* NameProperty */ .chroma .py { } +/* NameTag */ .chroma .nt { color:#f92672 } +/* NameBuiltin */ .chroma .nb { } +/* NameBuiltinPseudo */ .chroma .bp { } +/* NameVariable */ .chroma .nv { } +/* NameVariableClass */ .chroma .vc { } +/* NameVariableGlobal */ .chroma .vg { } +/* NameVariableInstance */ .chroma .vi { } +/* NameVariableMagic */ .chroma .vm { } +/* NameFunction */ .chroma .nf { color:#a6e22e } +/* NameFunctionMagic */ .chroma .fm { color:#a6e22e } +/* 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 } +/* Punctuation */ .chroma .p { } +/* 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 } +/* Generic */ .chroma .g { } +/* GenericDeleted */ .chroma .gd { color:#f92672 } +/* GenericEmph */ .chroma .ge { font-style:italic } +/* GenericError */ .chroma .gr { } +/* GenericHeading */ .chroma .gh { } +/* GenericInserted */ .chroma .gi { color:#a6e22e } +/* GenericOutput */ .chroma .go { } +/* GenericPrompt */ .chroma .gp { } +/* GenericStrong */ .chroma .gs { font-weight:bold } +/* GenericSubheading */ .chroma .gu { color:#75715e } +/* GenericTraceback */ .chroma .gt { } +/* GenericUnderline */ .chroma .gl { } +/* TextWhitespace */ .chroma .w { } diff --git a/site/themes/sine/static/css/syntax.css b/site/themes/sine/static/css/syntax.css new file mode 100644 index 0000000..ceb4317 --- /dev/null +++ b/site/themes/sine/static/css/syntax.css @@ -0,0 +1,146 @@ +/* Converted to Base16 variables */ + +/* Background */ +.bg { color: var(--base05); background-color: var(--base00); } + +/* PreWrapper */ +.chroma { color: var(--base05); background-color: var(--base00); } + +/* Other */ +.chroma .x { } + +/* Error */ +.chroma .err { color: var(--base08); background-color: var(--base0F); } + +/* CodeLine */ +.chroma .cl { } + +/* LineLink */ +.chroma .lnlinks { outline:none; text-decoration:none; color:inherit } + +/* LineTableTD */ +.chroma .lntd { vertical-align:top; padding:0; margin:0; border:0; } + +/* LineTable */ +.chroma .lntable { border-spacing:0; padding:0; margin:0; border:0; } + +/* LineHighlight */ +.chroma .hl { background-color: var(--base02); } + +/* LineNumbersTable */ +.chroma .lnt { + white-space:pre; + -webkit-user-select:none; + user-select:none; + margin-right:0.4em; + padding:0 0.4em 0 0.4em; + color: var(--base03); +} + +/* LineNumbers */ +.chroma .ln { + white-space:pre; + -webkit-user-select:none; + user-select:none; + margin-right:0.4em; + padding:0 0.4em 0 0.4em; + color: var(--base03); +} + +/* Line */ +.chroma .line { display:flex; } + +/* Keyword */ +.chroma .k, +.chroma .kc, +.chroma .kd, +.chroma .kp, +.chroma .kr, +.chroma .kt { color: var(--base0E); } + +/* KeywordNamespace */ +.chroma .kn { color: var(--base08); } + +/* Name */ +.chroma .n { } + +/* NameAttribute */ +.chroma .na, +.chroma .nc, +.chroma .nd, +.chroma .ne, +.chroma .nx, +.chroma .nf, +.chroma .fm { color: var(--base0D); } + +/* NameConstant */ +.chroma .no { color: var(--base09); } + +/* NameTag */ +.chroma .nt { color: var(--base08); } + +/* Literal */ +.chroma .l, +.chroma .m, +.chroma .mb, +.chroma .mf, +.chroma .mh, +.chroma .mi, +.chroma .il, +.chroma .mo { color: var(--base09); } + +/* LiteralDate */ +.chroma .ld, +.chroma .s, +.chroma .sa, +.chroma .sb, +.chroma .sc, +.chroma .dl, +.chroma .sd, +.chroma .s2, +.chroma .sh, +.chroma .si, +.chroma .sx, +.chroma .sr, +.chroma .s1, +.chroma .ss { color: var(--base0B); } + +/* LiteralStringEscape */ +.chroma .se { color: var(--base0C); } + +/* Operator */ +.chroma .o, +.chroma .ow { color: var(--base08); } + +/* Comment */ +.chroma .c, +.chroma .ch, +.chroma .cm, +.chroma .c1, +.chroma .cs, +.chroma .cp, +.chroma .cpf { color: var(--base03); } + +/* GenericDeleted */ +.chroma .gd { color: var(--base08); } + +/* GenericEmph */ +.chroma .ge { font-style:italic } + +/* GenericInserted */ +.chroma .gi { color: var(--base0B); } + +/* GenericStrong */ +.chroma .gs { font-weight:bold } + +/* GenericSubheading */ +.chroma .gu { color: var(--base03); } + +/* GenericHeading, Output, Prompt, Traceback, etc. left unstyled */ +.chroma .gr, +.chroma .gh, +.chroma .go, +.chroma .gp, +.chroma .gt, +.chroma .gl, +.chroma .w { } diff --git a/site/themes/hugo-starter/static/css/themes/oxocarbon-dark.css b/site/themes/sine/static/css/themes/oxocarbon-dark.css index 3283009..3283009 100644 --- a/site/themes/hugo-starter/static/css/themes/oxocarbon-dark.css +++ b/site/themes/sine/static/css/themes/oxocarbon-dark.css diff --git a/site/themes/hugo-starter/static/css/themes/oxocarbon-light.css b/site/themes/sine/static/css/themes/oxocarbon-light.css index 7cd48ee..7cd48ee 100644 --- a/site/themes/hugo-starter/static/css/themes/oxocarbon-light.css +++ b/site/themes/sine/static/css/themes/oxocarbon-light.css diff --git a/site/themes/hugo-starter/static/js/background.js b/site/themes/sine/static/js/background.js index e9b61a2..e9b61a2 100644 --- a/site/themes/hugo-starter/static/js/background.js +++ b/site/themes/sine/static/js/background.js diff --git a/site/themes/hugo-starter/static/js/switch-theme.js b/site/themes/sine/static/js/switch-theme.js index 5052f39..5052f39 100644 --- a/site/themes/hugo-starter/static/js/switch-theme.js +++ b/site/themes/sine/static/js/switch-theme.js diff --git a/site/themes/terminal b/site/themes/terminal deleted file mode 160000 -Subproject 5a2b4c0f1fdb9180d525930b2c8f68a90221d24 diff --git a/site/themes/tui/assets/css/main.css b/site/themes/tui/assets/css/main.css deleted file mode 100644 index 38c8924..0000000 --- a/site/themes/tui/assets/css/main.css +++ /dev/null @@ -1,4 +0,0 @@ -body { - background-color: #000000; /* light blue so you can spot it */ - font-family: Arial, sans-serif; -} diff --git a/site/themes/tui/assets/js/main.js b/site/themes/tui/assets/js/main.js deleted file mode 100644 index 9c65d22..0000000 --- a/site/themes/tui/assets/js/main.js +++ /dev/null @@ -1,11 +0,0 @@ -document.addEventListener("DOMContentLoaded", function () { - console.log("✅ main.js loaded"); - - const heading = document.querySelector("h1"); - if (heading) { - heading.style.cursor = "pointer"; - heading.addEventListener("click", () => { - alert("You clicked the heading!"); - }); - } -}); diff --git a/site/themes/tui/layouts/_default/baseof.html b/site/themes/tui/layouts/_default/baseof.html deleted file mode 100644 index 9ca3a22..0000000 --- a/site/themes/tui/layouts/_default/baseof.html +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - {{- partial "head.html" . -}} - </head> - <body> - {{- partial "header.html" . -}} - <div id="content"> - {{- block "main" . }}{{- end }} - </div> - {{- partial "footer.html" . -}} - {{- partial "scripts.html" . -}} - </body> -</html> diff --git a/site/themes/tui/layouts/_default/list.html b/site/themes/tui/layouts/_default/list.html deleted file mode 100644 index 202b930..0000000 --- a/site/themes/tui/layouts/_default/list.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -<ul> -{{ range .Pages.ByPublishDate.Reverse }} - {{- partial "listitem.html" . -}} -{{ end }} -</ul> -{{ end }} diff --git a/site/themes/tui/layouts/_default/single.html b/site/themes/tui/layouts/_default/single.html deleted file mode 100644 index 76d518f..0000000 --- a/site/themes/tui/layouts/_default/single.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -<main> - <h2>{{ .Title }}</h2> - <p>{{ .PublishDate }}</p> - <div>{{ .Content }}</div> -</main> -{{ end }} diff --git a/site/themes/tui/layouts/index.html b/site/themes/tui/layouts/index.html deleted file mode 100644 index 3a7073e..0000000 --- a/site/themes/tui/layouts/index.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ define "main" }} -{{ .Content }} -{{ end }} - diff --git a/site/themes/tui/layouts/partials/css.html b/site/themes/tui/layouts/partials/css.html deleted file mode 100644 index 41519be..0000000 --- a/site/themes/tui/layouts/partials/css.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $css := slice - (resources.Get "css/main.css") - | resources.Concat "css/bundle.css" | minify | fingerprint }} -<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}"> diff --git a/site/themes/tui/layouts/partials/footer.html b/site/themes/tui/layouts/partials/footer.html deleted file mode 100644 index b90d25c..0000000 --- a/site/themes/tui/layouts/partials/footer.html +++ /dev/null @@ -1 +0,0 @@ -<div>This is a footer</div> diff --git a/site/themes/tui/layouts/partials/head.html b/site/themes/tui/layouts/partials/head.html deleted file mode 100644 index cf4892e..0000000 --- a/site/themes/tui/layouts/partials/head.html +++ /dev/null @@ -1,4 +0,0 @@ -<meta charset="utf-8"> -<meta name="viewport" content="width=device-width, initial-scale=1.0"> -<title>My site</title> -{{ partial "css.html" . }} diff --git a/site/themes/tui/layouts/partials/header.html b/site/themes/tui/layouts/partials/header.html deleted file mode 100644 index 6b25711..0000000 --- a/site/themes/tui/layouts/partials/header.html +++ /dev/null @@ -1,5 +0,0 @@ -<nav> - <a href="/">Home</a> - <a href="/posts">Posts</a> - <a href="/tags">Tags</a> -</nav> diff --git a/site/themes/tui/layouts/partials/listitem.html b/site/themes/tui/layouts/partials/listitem.html deleted file mode 100644 index 6b77d8b..0000000 --- a/site/themes/tui/layouts/partials/listitem.html +++ /dev/null @@ -1,10 +0,0 @@ -<li> - <h3> - <a href="{{ .RelPermalink }}"> - {{ .Title }} - </a> - </h3> - <p>Date: {{ .PublishDate }}</p> - <p>Tags: {{ partial "tags.html" . -}}</p> - <p>Summary: {{ .Summary }}</p> -</li> diff --git a/site/themes/tui/layouts/partials/scripts.html b/site/themes/tui/layouts/partials/scripts.html deleted file mode 100644 index 5a6e0b3..0000000 --- a/site/themes/tui/layouts/partials/scripts.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $js := slice - (resources.Get "js/main.js") - | resources.Concat "js/bundle.js" | minify | fingerprint }} -<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script> diff --git a/site/themes/tui/layouts/partials/tags.html b/site/themes/tui/layouts/partials/tags.html deleted file mode 100644 index dc06ba6..0000000 --- a/site/themes/tui/layouts/partials/tags.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ range .Params.tags }} - <a href="{{ add (absURL `tags/`) (.) }}">{{ . }}</a> -{{ end }} |
