Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRingo De Smet <ringo@de-smet.name>2017-11-16 17:49:22 +0300
committerGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2017-11-16 17:49:22 +0300
commit5093400ed3285b3f54980e33524dd95d87344343 (patch)
tree995997a141358e607908c69b5d57269a67147b5d
parentd1038665ae3b05a051fb8a90e22f270fa75ae45f (diff)
Using the `themesDir` option to allow `hugo serve` locally without a softlink. The softlink doesn't work on Windows. (#102)
-rw-r--r--.travis.yml2
-rw-r--r--exampleSite/config.toml1
2 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a5072c0..9af5128 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,8 +14,6 @@ install:
script:
- npm run lint
- cd exampleSite
- - mkdir themes
- - ln -s ../../ themes/hugo-universal-theme
- hugo
notifications:
slack:
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 7786bfb..f24e904 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,6 +1,7 @@
baseurl = "https://example.org"
title = "Universal"
theme = "hugo-universal-theme"
+themesDir = "../.."
languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "en"