瀏覽代碼

feat: add Hello World theme

George Cushen 4 年之前
父節點
當前提交
1d67b495d6
共有 3 個文件被更改,包括 34 次插入0 次删除
  1. 11 0
      themes/hello-world/assets/scss/template.scss
  2. 18 0
      themes/hello-world/config.yaml
  3. 5 0
      themes/hello-world/go.mod

+ 11 - 0
themes/hello-world/assets/scss/template.scss

@@ -0,0 +1,11 @@
+// Narrower container for Hello World sections (primarily Blank widget content).
+@media (min-width: 1200px) {
+  .home-section .container {
+    max-width: 880px;
+  }
+}
+@media (min-width: 992px){
+  .home-section .container {
+    max-width: 880px;
+  }
+}

+ 18 - 0
themes/hello-world/config.yaml

@@ -0,0 +1,18 @@
+module:
+  imports:
+    - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
+  mounts:
+    - source: content
+      target: content
+    - source: static
+      target: static
+    - source: layouts
+      target: layouts
+    - source: data
+      target: data
+    - source: assets
+      target: assets
+    - source: i18n
+      target: i18n
+    - source: archetypes
+      target: archetypes

+ 5 - 0
themes/hello-world/go.mod

@@ -0,0 +1,5 @@
+module github.com/wowchemy/wowchemy-hugo-modules/themes/hello-world
+
+go 1.15
+
+require github.com/wowchemy/wowchemy-hugo-modules/wowchemy master