Przeglądaj źródła

Site initialized, hugo-theme-gallery added

Lars 1 rok temu
commit
878456d70a
5 zmienionych plików z 23 dodań i 0 usunięć
  1. 3 0
      .gitmodules
  2. 5 0
      archetypes/default.md
  3. 10 0
      assets/jsconfig.json
  4. 4 0
      hugo.toml
  5. 1 0
      themes/gallery

+ 3 - 0
.gitmodules

@@ -0,0 +1,3 @@
+[submodule "themes/gallery"]
+	path = themes/gallery
+	url = https://github.com/nicokaiser/hugo-theme-gallery.git

+ 5 - 0
archetypes/default.md

@@ -0,0 +1,5 @@
++++
+title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+date = {{ .Date }}
+draft = true
++++

+ 10 - 0
assets/jsconfig.json

@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+  "baseUrl": ".",
+  "paths": {
+   "*": [
+    "../themes/gallery/assets/*"
+   ]
+  }
+ }
+}

+ 4 - 0
hugo.toml

@@ -0,0 +1,4 @@
+baseURL = 'https://example.org/'
+languageCode = 'en-us'
+title = 'My New Hugo Site'
+theme = 'gallery'

+ 1 - 0
themes/gallery

@@ -0,0 +1 @@
+Subproject commit 04f097c6839ecce6f88a3cd0785d6082a959075a