diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9ff3f869..bb46a256 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,8 +4,8 @@ enableRobotsTXT = true # this example loads the theme as hugo module # comment out line below, and uncomment the line after it if you prefer to load the theme normally # theme = ["github.com/onweru/compose"] # edit this if you'ld rather use a fork of this repo -theme = ["github.com/rwstorer/hugo-theme-compose"] # change back to onweru after import -# theme = "compose" +# theme = ["github.com/rwstorer/hugo-theme-compose"] # change back to onweru after import +theme = "compose" enableGitInfo = true # disableKinds = ["taxonomy", "taxonomyTerm"] diff --git a/exampleSite/content/docs/compose/_index.md b/exampleSite/content/docs/compose/_index.md index 7d837d04..5d18f7df 100644 --- a/exampleSite/content/docs/compose/_index.md +++ b/exampleSite/content/docs/compose/_index.md @@ -6,3 +6,6 @@ weight: 1 Welcome to the Compose theme user guide! This guide shows you how to get started creating technical documentation sites using Compose, including site customization and how to use Compose's blocks and templates. {{< button "./install-theme/" "Get started now" >}} + + +{{< liteyoutube "Ln1mlocoGww" "scribble.jpg" >}} diff --git a/exampleSite/go.mod b/exampleSite/go.mod index e395a91e..36bf7859 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -2,4 +2,7 @@ module compose-exampleSite go 1.15 -require github.com/onweru/compose v0.0.0-20230530114506-a2ddf2b32939 // indirect +require ( + github.com/onweru/compose v0.0.0-20230530114506-a2ddf2b32939 // indirect + github.com/rwstorer/hugo-theme-compose v0.0.0-20230705005233-e37ac6973101 // indirect +) diff --git a/exampleSite/go.sum b/exampleSite/go.sum index 7d77a62e..aaf01f7a 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -62,3 +62,5 @@ github.com/rwstorer/hugo-theme-compose v0.0.0-20230611042716-1ae2e3d6a2af h1:XV6 github.com/rwstorer/hugo-theme-compose v0.0.0-20230611042716-1ae2e3d6a2af/go.mod h1:7TS3BoBV/IcLPRT2r7LyTyOqzsS5P5sXKlNpGgxdK/s= github.com/rwstorer/hugo-theme-compose v0.0.0-20230611043851-fa22efc00a50 h1:aAO6ExmIP513PY1Eny9ROAHMsKy2mcgH2j4Sd+gyJNU= github.com/rwstorer/hugo-theme-compose v0.0.0-20230611043851-fa22efc00a50/go.mod h1:7TS3BoBV/IcLPRT2r7LyTyOqzsS5P5sXKlNpGgxdK/s= +github.com/rwstorer/hugo-theme-compose v0.0.0-20230705005233-e37ac6973101 h1:LdUnwLgzORSs86EpkgioaHoSCNOLVZpqBBBiNECa7Ts= +github.com/rwstorer/hugo-theme-compose v0.0.0-20230705005233-e37ac6973101/go.mod h1:7TS3BoBV/IcLPRT2r7LyTyOqzsS5P5sXKlNpGgxdK/s= diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 05580c0c..395c1390 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ data-mode="{{ . }}" {{ end }}>
- {{- partial "head" . }} + {{- partial "head/index" . }}