commit 71a305c4440b7917fecd37947a8fbde2e6ac6cbe Author: L'Ajuntament Date: Sun Oct 24 02:13:09 2021 +0200 Commit inicial diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..46f5006 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/* diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a6851ba --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git 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/config.yaml b/config.yaml new file mode 100644 index 0000000..3e860d1 --- /dev/null +++ b/config.yaml @@ -0,0 +1,12 @@ +baseURL: https://lajuntament.space/ +languageCode: en-us +title: L'Ajuntament + +theme: terminal + +params: + themeColor: green # ["orange", "blue", "red", "green", "pink"] + fullWidthTheme: false + centerTheme: true + logo: + logoText: L'Ajuntament diff --git a/content/_index.org b/content/_index.org new file mode 100644 index 0000000..d914936 --- /dev/null +++ b/content/_index.org @@ -0,0 +1,27 @@ +#+TITLE: L'Ajuntament + +* Aquesta és la pàgina de l'ajuntament +Això és l'Ajuntament oficial a l'ombra! Ben aviat serem a tot el poble, i als vostres cors! + +** Un subtítol +Sabem fer moltes coses! Per exemple: /Text torçat/ Uau! Com mola! + +#+attr_html: alt: El Marc i el Nil :width 800 +#+caption: El Marc i el Nil! +[[/img/el_marc_i_el_nil.gif]] + +* Som uns hackers +Una miqueta de codi +#+begin_src python +import random +import time + +MEMBRES = ['Marc', 'Nil'] + +def un_membre(): + return random.choice(MEMBRES) + +print(f"El jefe de l'Ajuntament és...") +time.sleep(1) +print(un_membre()) +#+end_src diff --git a/static/img/el_marc_i_el_nil.gif b/static/img/el_marc_i_el_nil.gif new file mode 100644 index 0000000..129cf28 Binary files /dev/null and b/static/img/el_marc_i_el_nil.gif differ diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..2b0406b --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit 2b0406b7a4180c35ee546a7ae07c63f741b2bc95