From 920a5dbbc698a7ebee46ab9e7a8513b9878bf189 Mon Sep 17 00:00:00 2001 From: brooke Date: Fri, 17 May 2024 14:43:24 -0400 Subject: [PATCH] init hugo, update readme and gitignore --- .gitignore | 2 ++ .prettierrc | 15 +++++++++++++++ README.md | 13 ++++++++++++- archetypes/default.md | 5 +++++ hugo.toml | 3 +++ 5 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .prettierrc create mode 100644 archetypes/default.md create mode 100644 hugo.toml diff --git a/.gitignore b/.gitignore index c79f8bb..ee86547 100644 --- a/.gitignore +++ b/.gitignore @@ -145,3 +145,5 @@ dist .yarn/install-state.gz .pnp.* +package.json +package-lock.json \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..546dcf9 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,15 @@ +{ + "plugins": [ + "prettier-plugin-go-template" + ], + "overrides": [ + { + "files": [ + "*.html" + ], + "options": { + "parser": "go-template" + } + } + ] + } \ No newline at end of file diff --git a/README.md b/README.md index 3422d43..d69ad35 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # gallowelds.com -git repository for https://gallowelds.com/ \ No newline at end of file +``` +git clone https://git.myco.systems/mycosystems/gallowelds.com.git +``` +``` +git submodule update --init --recursive +``` + +Optionally we recommend installing prettier, the prettierrc file is preconfigured to use the go template plugin. + +``` +npm install --save-dev prettier prettier-plugin-go-template +``` \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..7e568b8 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site'