diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-18 11:27:59 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-18 11:27:59 +0300 |
commit | b8cea309022ac12612b9157f8ee62f9ec6c1822e (patch) | |
tree | 92ebb85883bfd036bf882544fb8d57b4c771baaa | |
parent | 7b66e9dd883e1610ec76e604a2bc32126485c907 (diff) |
Build from masterhugo-master
65 files changed, 19 insertions, 2 deletions
diff --git a/Hargo-hugo-ecommerce-theme b/Hargo-hugo-ecommerce-theme -Subproject b7e662bb2853063c4eb3cf3e6137e99878dcebe +Subproject de27cfcea378077461683ef5d3017fa2678f9f8 diff --git a/_script/generateThemeSite.sh b/_script/generateThemeSite.sh index 2f0c63d..a872c47 100755 --- a/_script/generateThemeSite.sh +++ b/_script/generateThemeSite.sh @@ -39,6 +39,7 @@ popd() { command popd "$@" >/dev/null } + # Load the repositories from the provided environment variables or our defaults HUGO_THEME_SITE_REPO=${HUGO_THEME_SITE_REPO:-https://github.com/gohugoio/hugoThemesSite.git} HUGO_BASIC_EXAMPLE_REPO=${HUGO_BASIC_EXAMPLE_REPO:-https://github.com/gohugoio/hugoBasicExample.git} @@ -55,6 +56,18 @@ themesDir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" echo "Using themes dir ${themesDir}" echo "Using site dir ${siteDir}" +# Whether to build Hugo from source. +hugoMaster=true +if $hugoMaster; then + export GOPROXY=https://proxy.golang.org + export GO111MODULE=on + export GOBIN=${themesDir}/bin + export PATH=${themesDir}/bin:$PATH + go get github.com/gohugoio/hugo@master + hugo version +fi + + configTplPrefix="config-tpl" configBase="${configTplPrefix}-base" configBaseParams="${configTplPrefix}-params" @@ -98,7 +111,11 @@ mkdir -p themeSite/static/images if [ $# -eq 1 ]; then BASEURL="$1" else - BASEURL="http://themes.gohugo.io" + if hugoMaster; then + BASEURL="https://hugo-master--hugothemes.netlify.com/" + else + BASEURL="http://themes.gohugo.io" + fi fi blacklist=('.git', '.github') @@ -267,7 +284,7 @@ for x in `find ${themesDir} -mindepth 1 -maxdepth 1 -type d -not -path "*.git" - echo "Example site for theme ${x} missing /content folder" generateDemo=false fi - HUGO_THEME=${x} hugo --quiet -s exampleSite2 -d ${demoDestination} -b $BASEURL/theme/$x/ + HUGO_THEME=${x} hugo -s exampleSite2 -d ${demoDestination} -b $BASEURL/theme/$x/ else grep -v "enableEmoji" ${searchConfig} > temp && mv temp ${searchConfig} find ${themesDir}/$x/layouts/ -type f -exec sed -i -e 's/Pages "Type" "posts"/Pages "Type" "post"/g' -e 's/Pages "Section" "posts"/Pages "Section" "post"/g' {} \; diff --git a/aafu b/aafu -Subproject 5a6418d18307d7d8ea5c5c591c387c8553fea9b +Subproject 110e53e0f668de62592ec30e7f8e41cfd87ac8d diff --git a/academic b/academic -Subproject 21e7bc8d3dbdce283f855046e8a8fc042a76db0 +Subproject c5b26892a9c6edd861c86993fce1c4cc234b940 diff --git a/aether b/aether -Subproject 62014e51353e6e951b8800437a14ba75bb5199b +Subproject f178f6f98e8bf2273be2213fc66cb150b4d0cfe diff --git a/airspace-hugo b/airspace-hugo -Subproject 4bb6991dbc1dd15c4ffcc5e6cb3590378e9694f +Subproject 9d8c6186d8959af049fc09f3cbbafdf621cf91b diff --git a/alpha-church b/alpha-church -Subproject 565379334a50f9ebf00b042c03a1875b9677d52 +Subproject be673c96a6db6ffc1413e847d1c67d50f6e29ca diff --git a/axiom b/axiom deleted file mode 160000 -Subproject ba3a657e17fd01f576038de1c8821433b0af865 diff --git a/bare-hugo-theme b/bare-hugo-theme -Subproject c6dcd9031159eb3af4d7e84f1a1609888456c7a +Subproject 7cbe067a2680a4c1f65a9bdb8c15bc4511af52c diff --git a/bilberry-hugo-theme b/bilberry-hugo-theme -Subproject 00a59c7e94464010a6ab61b8626c1534450da41 +Subproject c7408b7a8719ab8e19c0e50ba5051e85d95a376 diff --git a/black-and-light b/black-and-light -Subproject 0ee31aea08b84b8ccd798e70673545485f49e74 +Subproject d5124d5ca244c0584bf1713e871a275fef33db4 diff --git a/bootstrap-bp-hugo-theme b/bootstrap-bp-hugo-theme -Subproject e3eb32e28770b2ac31a7a051e5e5a876e37df03 +Subproject 3c62553b21d7dc938fce8e8b1bcb2f8f5a2a9f9 diff --git a/docsy b/docsy -Subproject b75b52f62b0559ac4955814ce1b8b73e3ce4d0a +Subproject 2815ec5c5a41a561dc6e84cea2f4c9c532f1e40 diff --git a/docuapi b/docuapi -Subproject ee0244b11cc2fdee883d7e56c5f1fc9bc894f73 +Subproject deb5341450cfaf6a3e79458cf19d27b3a98ad86 diff --git a/dot-hugo-documentation-theme b/dot-hugo-documentation-theme -Subproject 2d16d0c939eb9f3cc936569f97d32d35c6e159b +Subproject 47498599e9569509781655dc50f8f929a179a10 diff --git a/educenter-hugo b/educenter-hugo -Subproject 61e08d6062a9c1e0cc3e2428d26a048aa8891a0 +Subproject 229cbc4792cca3b6a6ac34589f8ddd03c95b67c diff --git a/erblog b/erblog -Subproject 0564d29d3eebdea50e2f5a5475dd8b85cfdcd16 +Subproject e8fc39f2bfe90320d22f6a451285b8ff83ae90c diff --git a/harbor b/harbor -Subproject cdd79c062fdc478a19010c097a7ec8018f181e8 +Subproject 86a5e439bf40a536a4b92117f143fb91d9ba65a diff --git a/hugo-book b/hugo-book -Subproject 050d5a83de701af6e8bc20a90e1de5ab9ce9535 +Subproject f633bbe679d9a39b83085af6dbcd11721c016de diff --git a/hugo-coder b/hugo-coder -Subproject e613e3ba00469dfb92a914ee0b0a4e489b1489c +Subproject fb2dc89b45b4ba61f6d66cca4c8f3062b4e9431 diff --git a/hugo-flex b/hugo-flex -Subproject f5fcf1d63796deb913f778b90a9ee6fe5c815aa +Subproject 905522e8747119f415032386800c8d6687762d0 diff --git a/hugo-future-imperfect-slim b/hugo-future-imperfect-slim -Subproject 506e066cb8baea662556d87e6e32a51b8ef489a +Subproject ab18a49246a1562cbeb8af7ce637bbf8fcc2fac diff --git a/hugo-kiera b/hugo-kiera -Subproject c618275cad9e0993698c6ccbf24e311ec1070b1 +Subproject 5dfc90830d80791f3ef309bfb07561d1117cee9 diff --git a/hugo-notepadium b/hugo-notepadium -Subproject f10e7689e3366b69727d8adf9c97eb247dbc5a2 +Subproject b6108eb4dd6ffa9abf184df690ca7fba152cb61 diff --git a/hugo-refresh b/hugo-refresh -Subproject b0ba2f8e785f1ffba8a4a085d2d57840bdb5f2b +Subproject 6db1ce0372ad939b21552fd1cb8da73f75f99a5 diff --git a/hugo-swift-theme b/hugo-swift-theme -Subproject b9e000498f00da5a6f66a093cea663c47ba8f96 +Subproject 49d50f8b4542ccc71bcfec61355ffb5c999b4e3 diff --git a/hugo-theme-chunky-poster b/hugo-theme-chunky-poster -Subproject eccc07502eda70db59fff6c521486cb339691a6 +Subproject 7c5ab6ec9d3641d859a088b247d90f76ccf140c diff --git a/hugo-theme-cleanwhite b/hugo-theme-cleanwhite -Subproject c7fa60e7c37ee2003639ec6a4f4924a84d1de50 +Subproject c920d8f16345b49d2a8fb83257712304bf7f790 diff --git a/hugo-theme-diary b/hugo-theme-diary -Subproject 6c25e7f47b1c0823d64df33b35da9cf1b5abc65 +Subproject fdaf6145cbbc4573a87e51b492e4893722b8fe7 diff --git a/hugo-theme-hello-friend-ng b/hugo-theme-hello-friend-ng -Subproject 0877768267ad8e8e0914938d7ddd73f627674c0 +Subproject e63dce70a95afeae279c7bc48eb488a4086c496 diff --git a/hugo-theme-introduction b/hugo-theme-introduction -Subproject 64167415cb5c814d849652b34b09d8e287f1991 +Subproject f29204c62acfba3277d4b923558c819d0d8c72f diff --git a/hugo-theme-iris b/hugo-theme-iris -Subproject 284a67996b5957b3269b259dfadf17929751089 +Subproject 80832984a5d3949071ce7106ca10f71f204e61d diff --git a/hugo-theme-meme b/hugo-theme-meme -Subproject 6945afdf3e1e457f5539aebea61ca56ade87e87 +Subproject 7fab5dbb0c57e6a36ed8254097ac114841f1e10 diff --git a/hugo-theme-nix b/hugo-theme-nix -Subproject e8e2eeb08902f7f028e3b21cdbc4415c866ea9d +Subproject 510e7590b774e23145b93ca7f3b1ffbe1ac9491 diff --git a/hugo-theme-noteworthy b/hugo-theme-noteworthy -Subproject a4a6ec7e94a59f09b0210c44a89248f35cefc26 +Subproject 0d771a7184247641285c855c492f4134cd7064d diff --git a/hugo-theme-okayish-blog b/hugo-theme-okayish-blog -Subproject d435a1bfd3832dd1d0fdc0502cb5a07693f86fe +Subproject 34f1349fe461d9b082ed3f96469ace9e4edde26 diff --git a/hugo-theme-sam b/hugo-theme-sam -Subproject 39ea2d5e64fd0426d275060cfa6c549df66cdec +Subproject b70a6ab85421dc4984a9b1b1847c0a30ed0d3ff diff --git a/hugo-theme-techdoc b/hugo-theme-techdoc -Subproject 6b782cf9b0a994abb95bd32ba5987cf24e1b466 +Subproject ddb9345092c53269c0e6d35bea029d640fcd8b8 diff --git a/hugo-theme-yinyang b/hugo-theme-yinyang -Subproject 55dfd59d47d9de535f40c70f9e24aac4753af7b +Subproject e78d1ebf7f06d58a4717b6dcc46558cb4c0d5d8 diff --git a/hugo-theme-zdoc b/hugo-theme-zdoc -Subproject b640731190a9e0c7b64f9c77efd8d41be980bdc +Subproject 2971e564b5a6c8040e33e80d8b0198f2b46344a diff --git a/hugo-theme-zen b/hugo-theme-zen -Subproject 8738a537925cd095513c2a3f93b76855cd597a4 +Subproject b09452be937db32d659e2a255617256a4dca345 diff --git a/hugo-theme-zzo b/hugo-theme-zzo -Subproject 0dc9e52ff720b5ce82a49c024f75a678e3d832e +Subproject 0f11b8e333c31150f960881456c5202e9c3afd4 diff --git a/hugo-vitae b/hugo-vitae -Subproject b6f1ee8aef014d6c5cd194057ff3d874715e0ba +Subproject 9c4ce33eab17d70ce4ebdff04d4b604bb4921f4 diff --git a/hugo-whisper-theme b/hugo-whisper-theme -Subproject 4ae9fd23bb2598c4e0e475891b5718783b5187b +Subproject 60c6443b36efd49071f2ee70e7289ce9348ceb1 diff --git a/hugo_theme_pickles b/hugo_theme_pickles -Subproject 55bcf64083b380ac751e9099181ffbad8a412dc +Subproject 0cb477bc9c259d4f12fb844373adfe9e564372e diff --git a/hugonews b/hugonews -Subproject 342b6a47f09e345f1b9ed429ef73368d1719ab9 +Subproject c53d7e6ee553009fa214e5eeeef4fc76bf486c3 diff --git a/hyde b/hyde -Subproject 6ac8506eec7b47c87051947c787ffa48c1ad831 +Subproject a56b6f866fe0a9e6aaf3ecaebf43bf3b2a00a88 diff --git a/infinity-hugo b/infinity-hugo -Subproject 7ca0f5ee3615a9c0bd40f8afde06e25a54289ff +Subproject 9b30c64f955088e69f578bc55411692b5b02686 diff --git a/kiss b/kiss -Subproject 846efa80dd289bfa5e88ff83d6fbee166633958 +Subproject 6e4d72a35035cee6bef6d5561204f99603bcbaa diff --git a/kross-hugo-portfolio-template b/kross-hugo-portfolio-template -Subproject a2afe360941021fdccd64115862cba4a391758b +Subproject 8ab876b749f84188c0d7cf29b576c52fce6eb74 diff --git a/liquorice b/liquorice -Subproject f44df3ad18a081fdc7bbb0c257f9081f76cdc17 +Subproject 4f2af3b24c5a66eb1a32ee79e0e889c3ebd995b diff --git a/liva-hugo b/liva-hugo -Subproject a6f6ef7b98cac8dbe6433c9d15c632fa1cc2e4b +Subproject 01ce9124cb24c53cb08fc80440d6256069d117d diff --git a/mainroad b/mainroad -Subproject 769f23cc717647f4a782c79fb46d7a35d8f954b +Subproject aedfc89b9b4f9a1fe505555377822a44d995fef diff --git a/materialize-bp-hugo-theme b/materialize-bp-hugo-theme -Subproject 0beaae130a649742803d19c8e90769677d42228 +Subproject 580b257178668f9fe91e5e737b1f98d47b410d5 diff --git a/meghna-hugo b/meghna-hugo -Subproject 6cd0bc638b158f97490a0d2c4d2b029653307c4 +Subproject 8c96a0fd5b49cb75d7f8d6a2d63bc3066506141 diff --git a/monopriv b/monopriv -Subproject 6f8c2ae9bc924cb1b59e1057bb31d7013251fb0 +Subproject 0e942d633c6afe40e42619301ec978e5b783b2e diff --git a/navigator-hugo b/navigator-hugo -Subproject ee7eefefd75965e044184b7d2291663afd2c38b +Subproject b5eb660e80c69f867ef4a4aac9ad70ef05b150a diff --git a/new-oldnew-mashup b/new-oldnew-mashup -Subproject da5f5e5ca57f6f0c692c06695e890ccdb526d9d +Subproject 02d273fed25fff36343de8dafba81630ca3bbb1 diff --git a/northendlab-hugo b/northendlab-hugo -Subproject ceea34b7c37fc8b403f61ca3d44e1981a6948f5 +Subproject 585fad39ad02a1d70a51ac60fb4bb9243dde568 diff --git a/pulp b/pulp -Subproject fa8ad522cc1cb523c72530248d6fdb1da41a0c7 +Subproject 1fe952e1a54e0a2c7c33de1095971926cb1b186 diff --git a/reveal-hugo b/reveal-hugo -Subproject a54265ad7d72123931b16f92b07c2fcffb5a347 +Subproject 1e9489b435be0f0d36d29f9d653cec25bc0b2ed diff --git a/somrat b/somrat -Subproject b98cc5a2645cb83c6880ddffaa7831775f2be39 +Subproject ddaaf53c6b57645722a7cb946a52d242ac9bf1b diff --git a/ticky_tacky_dark b/ticky_tacky_dark -Subproject b05db54263f25cba69c85ecad2420c58b1915ed +Subproject ec011355942d1b8612c61664a4e0a37d86339fd diff --git a/vanilla-bootstrap-hugo-theme b/vanilla-bootstrap-hugo-theme -Subproject c9a46a20de130af8a38a755857fcade56e1028c +Subproject 92eaa26a8e76edb065de4e01619d1c30e9bb1fe diff --git a/vex-hugo b/vex-hugo -Subproject f44e012fb502c0f0defaabc2d6afa12bc8fff3c +Subproject b5e577427fb217d5823ac45898541f353e4aeb4 |