From f485daaed5a3e8b0f6cade3a78e88539177d72d2 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Wed, 9 Aug 2023 22:50:55 +0200 Subject: [PATCH] lua_func archetype, fix displaying of articles --- archetypes/default.md | 1 - archetypes/lua_func.md | 15 +++++++++++++++ content/LuaFunctions/_index.md | 4 ++++ content/LuaFunctions/index.md | 2 -- content/LuaFunctions/mgCameraShake.md | 4 ++++ layouts/{home.html => home.html.disabled} | 0 static/index.css | 2 +- 7 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 archetypes/lua_func.md delete mode 100644 content/LuaFunctions/index.md rename layouts/{home.html => home.html.disabled} (100%) diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd..7ce2f1a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,5 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} -draft: true --- diff --git a/archetypes/lua_func.md b/archetypes/lua_func.md new file mode 100644 index 0000000..5a1b7a1 --- /dev/null +++ b/archetypes/lua_func.md @@ -0,0 +1,15 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +--- + +# `{{ .Name }}` – {{ short_description }} + +## Usage + +{{ .Name }}(required, [optional]) + diff --git a/content/LuaFunctions/_index.md b/content/LuaFunctions/_index.md index 2c427c5..cd46b88 100644 --- a/content/LuaFunctions/_index.md +++ b/content/LuaFunctions/_index.md @@ -1,2 +1,6 @@ +--- +title: 'List of Lua Functions' +--- + Some commands might have documentation on the [Smashing Tech Wiki](https://antifandom.com/smashhitlab/wiki/List_of_Lua_Functions) diff --git a/content/LuaFunctions/index.md b/content/LuaFunctions/index.md deleted file mode 100644 index 2c427c5..0000000 --- a/content/LuaFunctions/index.md +++ /dev/null @@ -1,2 +0,0 @@ -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 index 89d8ba5..7ee272d 100644 --- a/content/LuaFunctions/mgCameraShake.md +++ b/content/LuaFunctions/mgCameraShake.md @@ -1,3 +1,7 @@ +--- +title: 'mgCameraShake' +--- + # `mgCameraShake` – used to visually shake camera ## Usage diff --git a/layouts/home.html b/layouts/home.html.disabled similarity index 100% rename from layouts/home.html rename to layouts/home.html.disabled diff --git a/static/index.css b/static/index.css index 01f874d..e202536 100644 --- a/static/index.css +++ b/static/index.css @@ -1,7 +1,7 @@ body { background-color: #101012; color: white; - font-family: monospace; + font-family: sans-serif; margin-top: 0; }