Skip to content

Commit

Permalink
Trick CI into using self module (theNewDynamic#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
regisphilibert authored and Remicck committed Mar 7, 2022
1 parent de35034 commit d2893ce
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 1 addition & 3 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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]]
Expand Down
7 changes: 7 additions & 0 deletions exampleSite/go.mod
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions exampleSite/go.sum
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/theNewDynamic/gohugo-theme-ananke

go 1.12
go 1.14

0 comments on commit d2893ce

Please sign in to comment.