瀏覽代碼

demo: sync preprocessed resources for Hugo Themes Site

George Cushen 5 年之前
父節點
當前提交
eb953ed475

+ 3 - 1
.gitignore

@@ -1,7 +1,9 @@
 # IDE specific
 .idea/
 .vscode/
-resources/
+
+# Hugo
+exampleSite/public/
 
 # Jupyter
 .ipynb_checkpoints/

File diff suppressed because it is too large
+ 0 - 0
exampleSite/resources/_gen/assets/scss/scss/main.scss_6c95cc1249b26b124274204dbf970c34.content


二進制
exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png


二進制
exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_32x32_fill_lanczos_center_2.png


二進制
exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png


+ 5 - 0
scripts/gen_demo_resources.sh

@@ -0,0 +1,5 @@
+#!/usr/bin/env zsh
+
+# Generate preprocessed resources for demo site whilst also removing disused resources.
+# Run this script from the root Academic dir.
+HUGO_THEME=academic hugo --source exampleSite --themesDir ../../ --gc

+ 2 - 0
scripts/view_demo.sh

@@ -1,3 +1,5 @@
 #!/usr/bin/env zsh
 
+# View the demo site on any local devices by binding the local IP on port 1315.
+# Run this script from the root Academic dir.
 HUGO_THEME=academic hugo --source exampleSite --themesDir ../../ --i18n-warnings --bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 server

Some files were not shown because too many files changed in this diff