Make it a Hugo Module

This commit is contained in:
Bjørn Erik Pedersen 2019-07-28 12:43:54 +02:00
parent 87aca20353
commit e17a61997d
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
3 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,7 @@ footnotereturnlinkcontents = "↩"
languageCode = "en-us"
metaDataFormat = "yaml"
title = "Hugo"
theme = "gohugoioTheme"
googleAnalytics = "UA-7131036-4"
@ -28,6 +28,12 @@ pygmentsUseClassic = false
# See https://help.farbox.com/pygments.html
pygmentsStyle = "trac"
[module]
[module.hugoVersion]
min = "0.56.0"
[[module.imports]]
path = "github.com/gohugoio/gohugoioTheme"
[outputs]
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
section = [ "HTML", "RSS"]

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module github.com/gohugoio/hugoDocs
go 1.12
require github.com/gohugoio/gohugoioTheme v0.0.0-20190726082015-1ca3974992e8 // indirect

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/gohugoio/gohugoioTheme v0.0.0-20190726082015-1ca3974992e8 h1:BrZRtV16S1vWluOQTC96nT9A1pjpl+2sX9v7rfU9ybU=
github.com/gohugoio/gohugoioTheme v0.0.0-20190726082015-1ca3974992e8/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=