From a5727576d93abd80c95b9814d22e30fbeab24e7f Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 2 Sep 2020 21:36:07 +0100 Subject: [PATCH] build: update to use wowchemy module Removes hugo-academic Git Submodule and replaces it with Wowchemy Hugo Module Also enable robots.txt in config.toml --- .gitmodules | 3 --- README.md | 50 +++++++++++++------------------------ config/_default/config.toml | 9 ++++--- go.mod | 5 ++++ go.sum | 2 ++ themes/academic | 1 - 6 files changed, 31 insertions(+), 39 deletions(-) delete mode 100644 .gitmodules create mode 100644 go.mod create mode 100644 go.sum delete mode 160000 themes/academic diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e411f7f..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/academic"] - path = themes/academic - url = https://github.com/gcushen/hugo-academic.git diff --git a/README.md b/README.md index 4decd17..d800506 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,32 @@ -

Academic logo

+

Wowchemy Website Builder

-# Academic Kickstart: The Template for [Academic Website Builder](https://sourcethemes.com/academic/) +# Academic Template for [Wowchemy Website Builder](https://wowchemy.com) -[**Academic**](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. [Check out the latest demo](https://academic-demo.netlify.app/) of what you'll get in less than 10 minutes, or [view the showcase](https://sourcethemes.com/academic/#expo). +The **Academic ResumΓ© Template** empowers you to create your job-winning online resumΓ© and showcase your academic publications. -**Academic Kickstart** provides a minimal template to kickstart your new website. +[Check out the latest demo](https://academic-demo.netlify.app) of what you'll get in less than 10 minutes, or [view the showcase](https://wowchemy.com/user-stories/). -- πŸ‘‰ [**Get Started**](#install) -- πŸ“š [View the **documentation**](https://sourcethemes.com/academic/docs/) -- πŸ’¬ [Chat with the **Academic community**](https://spectrum.chat/academic) or [**Hugo community**](https://discourse.gohugo.io) -- 🐦 Twitter: [@source_themes](https://twitter.com/source_themes) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithAcademic](https://twitter.com/search?q=%23MadeWithAcademic&src=typd) -- πŸ’‘ [Request a **feature** or report a **bug**](https://github.com/gcushen/hugo-academic/issues) -- ⬆️ **Updating?** View the [Update Guide](https://sourcethemes.com/academic/docs/update/) and [Release Notes](https://sourcethemes.com/academic/updates/) -- :heart: **Support development** of Academic: - - β˜•οΈ [**Donate a coffee**](https://paypal.me/cushen) - - πŸ’΅ [Become a backer on **Patreon** and **unlock rewards**](https://www.patreon.com/cushen) - - πŸ–ΌοΈ [Decorate your laptop or journal with an Academic **sticker**](https://www.redbubble.com/people/neutreno/works/34387919-academic) - - πŸ‘• [Wear the **T-shirt**](https://academic.threadless.com/) - - :woman_technologist: [**Contribute**](https://sourcethemes.com/academic/docs/contribute/) +[**Wowchemy**](https://wowchemy.com) 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. -[![Screenshot](https://raw.githubusercontent.com/gcushen/hugo-academic/master/academic.png)](https://github.com/gcushen/hugo-academic/) +- πŸ‘‰ [**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/wowchemy/wowchemy-hugo-modules/issues) +- ⬆️ **Updating Wowchemy?** View the [Update Guide](https://wowchemy.com/docs/update/) and [Release Notes](https://wowchemy.com/updates/) -## Install +## Crowd-funded open-source software -You can choose from one of the following four methods to install: +To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship. -* [**one-click install using your web browser (recommended)**](https://sourcethemes.com/academic/docs/install/#install-with-web-browser) -* [install on your computer using **Git** with the Command Prompt/Terminal app](https://sourcethemes.com/academic/docs/install/#install-with-git) -* [install on your computer by downloading the **ZIP files**](https://sourcethemes.com/academic/docs/install/#install-with-zip) -* [install on your computer with **RStudio**](https://sourcethemes.com/academic/docs/install/#install-with-rstudio) - -Then [personalize your new site](https://sourcethemes.com/academic/docs/get-started/). +### [❀️ Click here to unlock rewards with sponsorship](https://wowchemy.com/plans/) ## Ecosystem -* **[Academic Admin](https://github.com/sourcethemes/academic-admin):** An admin tool to import publications from BibTeX or import assets for an offline site -* **[Academic Scripts](https://github.com/sourcethemes/academic-scripts):** Scripts to help migrate content to new versions of Academic +* **[Wowchemy Admin](https://github.com/wowchemy/wowchemy-admin/):** An admin tool to import publications from BibTeX -## License - -Copyright 2017-present [George Cushen](https://georgecushen.com). - -Released under the [MIT](https://github.com/sourcethemes/academic-kickstart/blob/master/LICENSE.md) license. +[![Screenshot](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/academic.png)](https://wowchemy.com) + diff --git a/config/_default/config.toml b/config/_default/config.toml index 81a24ea..5d5089e 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -20,9 +20,6 @@ copyright = "" ## Advanced options below ## ############################ -# Name of Academic theme folder in `themes/`. -theme = "academic" - # Get last modified date for content from Git? enableGitInfo = false @@ -35,6 +32,7 @@ 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$"] @@ -105,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 new file mode 100644 index 0000000..b644055 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/wowchemy/starter-academic + +go 1.15 + +require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20200902195927-86da39719ccd // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..9062bcc --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +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= diff --git a/themes/academic b/themes/academic deleted file mode 160000 index d8367bb..0000000 --- a/themes/academic +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d8367bbe52245885028f6e5a7b8fa01459453c86