From 3b7c8ba61a3e623b93efeb82e336253f264da765 Mon Sep 17 00:00:00 2001 From: Luiz F. A. de PrĂ¡ <luiz.pra@olist.com> Date: Thu, 25 Mar 2021 17:07:13 +0000 Subject: [PATCH] Remove hugo mod from exampleSite and Netlify build --- exampleSite/config.toml | 7 ++----- /dev/null | 0 netlify.toml | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c008e00..fdc876f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,19 +1,16 @@ baseURL = "http://www.example.com" title = "johndoe" +theme = "hugo-coder" languageCode = "en" defaultContentLanguage = "en" paginate = 20 -pygmentsStyle = "b2" +pygmentsStyle = "bw" pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = true enableEmoji = true # Enable Disqus comments # disqusShortname = "yourdiscussshortname" -[module] - [[module.imports]] - path = "github.com/luizdepra/hugo-coder" - [params] author = "John Doe" description = "John Doe's personal website" diff --git a/exampleSite/go.mod b/exampleSite/go.mod deleted file mode 100644 index 209c82b..0000000 --- a/exampleSite/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/luizdepra/exampleSite - -go 1.16 - -require github.com/luizdepra/hugo-coder v0.0.0-20210316001240-32ffc536aa93 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum deleted file mode 100644 index 6b1d702..0000000 --- a/exampleSite/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/luizdepra/hugo-coder v0.0.0-20210316001240-32ffc536aa93 h1:mTXlzQ5p3ancH7W300Bur7PDScXd2ZKqEdZBM3TTQTE= -github.com/luizdepra/hugo-coder v0.0.0-20210316001240-32ffc536aa93/go.mod h1:6nu/OxeF5LLM5MBhpzTM40kZi80qCHPm2IXxHI0H+KA= diff --git a/go.sum b/go.sum deleted file mode 100644 index e69de29..0000000 --- a/go.sum +++ /dev/null diff --git a/netlify.toml b/netlify.toml index 5234e10..34b452e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,6 @@ [build] HUGO_VERSION = "0.77.0" HUGO_THEME = "repo" -GO_VERSION = "1.16.2" publish = "exampleSite/public" command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL" -- Gitblit v1.10.0