From 0ab5a89e7abda4c803ee221617e1051a46d112b8 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 2 Sep 2020 21:14:45 +0100 Subject: [PATCH] build: update to use wowchemy module Also enable robots.txt in config.toml --- README.md | 6 ++++-- config/_default/config.toml | 11 ++++++----- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d2b557a..47cc49f 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ The **Book Template** empowers you to create **product documentation**, **digita [Check out the latest demo](https://book-starter.netlify.app/) of what you'll get in less than 10 minutes, or [view the showcase](https://wowchemy.com/user-stories/). -[**Wowchemy**](https://github.com/gcushen/hugo-academic) makes it easy to create a beautiful website for free using Markdown, Jupyter, or RStudio. Customize anything on your site with widgets, themes, and language packs. +[**Wowchemy**](https://github.com/wowchemy/wowchemy-hugo-modules) makes it easy to create a beautiful website for free using Markdown, Jupyter, or RStudio. Customize anything on your site with widgets, themes, and language packs. - 👉 [**Get Started**](https://wowchemy.com/docs/install/) - 📚 [View the **documentation**](https://wowchemy.com/docs/) - 💬 [Chat with the **Wowchemy community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io) - 🐦 Twitter: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=(%23MadeWithWowchemy%20OR%20%23MadeWithAcademic)&src=typed_query) -- 💡 [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/gcushen/hugo-academic/issues) +- 💡 [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/wowchemy/wowchemy-hugo-modules/issues) - ⬆️ **Updating Wowchemy?** View the [Update Guide](https://wowchemy.com/docs/update/) and [Release Notes](https://wowchemy.com/updates/) ## Crowd-funded open-source software @@ -25,4 +25,6 @@ To help us develop this template and software sustainably under the MIT license, [![Screenshot]()](https://github.com/wowchemy/starter-book) --> + diff --git a/config/_default/config.toml b/config/_default/config.toml index 4a18238..9549545 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -32,14 +32,10 @@ removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issu summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`. paginate = 10 # Number of items per page in paginated lists. enableEmoji = true +enableRobotsTXT = true footnotereturnlinkcontents = "^" ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] -# Install Academic -[module] - [[module.imports]] - path = "github.com/gcushen/hugo-academic" - # Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic. [permalinks] authors = "/author/:slug/" @@ -107,3 +103,8 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " [[related.indices]] name = "authors" weight = 20.0 + +# Install Wowchemy +[module] + [[module.imports]] + path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" diff --git a/go.mod b/go.mod index 90c39b7..d665e08 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/wowchemy/starter-book go 1.14 -require github.com/gcushen/hugo-academic v0.29.1-0.20200831163630-07facf5828ab +require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20200902195927-86da39719ccd // indirect diff --git a/go.sum b/go.sum index 8e91415..9062bcc 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/gcushen/hugo-academic v0.29.1-0.20200831163630-07facf5828ab h1:khv6bOU0FgvwA1wvjsb4jQYt6f3rWiXdFwgjODYFBHk= -github.com/gcushen/hugo-academic v0.29.1-0.20200831163630-07facf5828ab/go.mod h1:FvyiRg2RsvpDYk5mfUHjwykBk0Lx/khc5e4XtBkjq8g= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20200902195927-86da39719ccd h1:ib4vY08iCxJQlQtf0m/Bz9Ha2HJ83te60V9NCnTR6VE= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20200902195927-86da39719ccd/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=