From b3e53047129121db20f71824ab508e5516cfa36b Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Fri, 11 Feb 2022 15:14:11 -0500 Subject: [PATCH] Trick CI into using self module --- exampleSite/config.toml | 4 +--- exampleSite/go.mod | 7 +++++++ exampleSite/go.sum | 2 ++ go.mod | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 exampleSite/go.mod create mode 100644 exampleSite/go.sum diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8a091aaab..66f0447f6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,8 +1,7 @@ title = "Notre-Dame de Paris" baseURL = "https://example.com" languageCode = "en-us" -theme = "gohugo-theme-ananke" -themesDir = "../.." +theme = ["github.com/theNewDynamic/gohugo-theme-ananke"] resourceDir = "../resources" DefaultContentLanguage = "en" @@ -34,7 +33,6 @@ enableRobotsTXT = true description = "The last theme you'll ever need. Maybe." # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" background_color_class = "bg-black" - featured_image = "/images/gohugo-default-sample-hero-image.jpg" recent_posts_number = 3 [[params.ananke_socials]] diff --git a/exampleSite/go.mod b/exampleSite/go.mod new file mode 100644 index 000000000..7a7de2c18 --- /dev/null +++ b/exampleSite/go.mod @@ -0,0 +1,7 @@ +module github.com/theNewDynamic/gohugo-theme-ananke/exampleSite + +go 1.14 + +replace github.com/theNewDynamic/gohugo-theme-ananke => ../ + +require github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20220211195439-d4e5a698a829 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum new file mode 100644 index 000000000..02eeb52f8 --- /dev/null +++ b/exampleSite/go.sum @@ -0,0 +1,2 @@ +github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20220211195439-d4e5a698a829 h1:dxXpDsAqswhvn8pPOC993d217NX/ZbIUSkWz1/awi4s= +github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20220211195439-d4e5a698a829/go.mod h1:bgj7bjD98mZSR/KOYKuF5lcIgEmTnJ763rZH4EseLv4= diff --git a/go.mod b/go.mod index 90be61c16..da8d9ebca 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/theNewDynamic/gohugo-theme-ananke -go 1.12 +go 1.14