From 8fdfd205f9b4fd2f52eac9dfd2da8e11bea2015e Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Fri, 11 Feb 2022 20:25:39 +0000
Subject: [PATCH] Trick CI into using self module (#515)

---
 exampleSite/config.toml |    4 +---
 exampleSite/go.mod      |    7 +++++++
 go.mod                  |    2 +-
 exampleSite/go.sum      |    2 ++
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 8a091aa..66f0447 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 @@
   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 0000000..7a7de2c
--- /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 0000000..02eeb52
--- /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 90be61c..da8d9eb 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,3 @@
 module github.com/theNewDynamic/gohugo-theme-ananke
 
-go 1.12
+go 1.14

--
Gitblit v1.10.0