commit 4a5410643646515dd282e22774db3cc2038c1e2c Author: magmaus3 Date: Wed Aug 9 19:27:08 2023 +0200 init for the hugo site diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/content/LuaFunctions/_index.md b/content/LuaFunctions/_index.md new file mode 100644 index 0000000..2c427c5 --- /dev/null +++ b/content/LuaFunctions/_index.md @@ -0,0 +1,2 @@ +Some commands might have documentation on the [Smashing Tech Wiki](https://antifandom.com/smashhitlab/wiki/List_of_Lua_Functions) + diff --git a/content/LuaFunctions/_template.md b/content/LuaFunctions/_template.md new file mode 100644 index 0000000..27de893 --- /dev/null +++ b/content/LuaFunctions/_template.md @@ -0,0 +1,10 @@ +# `{{ cmd }}` – {{ short_description }} + +## Usage + +{{ cmd }}(required, [optional]) + diff --git a/content/LuaFunctions/index.md b/content/LuaFunctions/index.md new file mode 100644 index 0000000..2c427c5 --- /dev/null +++ b/content/LuaFunctions/index.md @@ -0,0 +1,2 @@ +Some commands might have documentation on the [Smashing Tech Wiki](https://antifandom.com/smashhitlab/wiki/List_of_Lua_Functions) + diff --git a/content/LuaFunctions/mgCameraShake.md b/content/LuaFunctions/mgCameraShake.md new file mode 100644 index 0000000..89d8ba5 --- /dev/null +++ b/content/LuaFunctions/mgCameraShake.md @@ -0,0 +1,8 @@ +# `mgCameraShake` – used to visually shake camera + +## Usage + +```lua +mgCameraShake(amount) +``` +`amount` should be an decimal value, for example `0.25` diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..38e159b --- /dev/null +++ b/content/_index.md @@ -0,0 +1,3 @@ +Welcome to the wiki! + +It's unfinished, but hopefully it'll be! diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..7b2631e --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = 'Granny Smith Technical' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..d23900e --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,14 @@ + + + + {{ block "title" . }}{{ .Site.Title }}{{ end }} + + + + + + {{ block "main" . }} + content goes here + {{ end }} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..fadf2fe --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,26 @@ +{{ define "main" }} +
+
+
+ +

{{ .Title }}

+

{{ .Description }}

+
+ + {{ .Content }} +
+ +
+{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..5879956 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,10 @@ +{{ define "main" }} +
+ go up +
+

{{ .Title }}

+

{{ .Description }}

+
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..9e40a34 --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ + {{ range .Pages }} + {{ .Render "summary" }} + {{ end }} +
+
+{{ end }} diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..d01017d --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,5 @@ +{{ define "main" }} +
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/post.html b/layouts/post.html new file mode 100644 index 0000000..4359867 --- /dev/null +++ b/layouts/post.html @@ -0,0 +1,12 @@ +{{ define "main" }} +
+ +
+

{{ .Title }}

+

{{ .Description }}

+
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..b90bea2 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}} diff --git a/static/index.css b/static/index.css new file mode 100644 index 0000000..01f874d --- /dev/null +++ b/static/index.css @@ -0,0 +1,42 @@ +body { + background-color: #101012; + color: white; + font-family: monospace; + margin-top: 0; +} + +nav { + display: flex; + border-bottom: 1px solid #1A1A1A; + box-shadow: 0px 5px 15px #121212; +} + +nav a { + width: fit-content; + padding: 0.2em; + margin: 0em 1em; + border-radius: 0.1em; + transition: box-shadow 200ms cubic-bezier(0.19, 1, 0.22, 1), background-color 200ms cubic-bezier(0.19, 1, 0.22, 1); +} + +nav a:hover { + box-shadow: 0px 0px 15px black; + background-color: #40404a; +} + +a { + color: cyan; + text-decoration: inherit; +} +article { + max-width: 100%; +} + +img { + width: 90%; +} + +blockquote { + border-left: 2px solid gray; + padding-left: 1em; +}