Trick CI into using self module (#515)

This commit is contained in:
Regis Philibert 2022-02-11 15:25:39 -05:00 committed by GitHub
parent d4e5a698a8
commit 8fdfd205f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 4 deletions

View File

@ -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]]

7
exampleSite/go.mod Normal file
View File

@ -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
exampleSite/go.sum Normal file
View File

@ -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
go.mod
View File

@ -1,3 +1,3 @@
module github.com/theNewDynamic/gohugo-theme-ananke
go 1.12
go 1.14