From e31e7955acdeb269d1872f3293b6d2a3e2f54678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 24 May 2018 17:05:10 +0200 Subject: [PATCH] Update exampleSite so it works with newer Hugo versions Fixes #84 --- exampleSite/config.toml | 1 + exampleSite/content/{index.md => _index.md} | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) rename exampleSite/content/{index.md => _index.md} (84%) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 85c6352..4c32520 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,6 +4,7 @@ title = "Material Docs" theme = "hugo-material-docs" metadataformat = "yaml" canonifyurls = true +themesDir = "../.." # Enable Google Analytics by entering your tracking id googleAnalytics = "" diff --git a/exampleSite/content/index.md b/exampleSite/content/_index.md similarity index 84% rename from exampleSite/content/index.md rename to exampleSite/content/_index.md index a48262e..d98a562 100644 --- a/exampleSite/content/index.md +++ b/exampleSite/content/_index.md @@ -30,7 +30,7 @@ git clone git@github.com:digitalcraftsman/hugo-material-docs.git themes/hugo-mat - Beautiful, readable and very user-friendly design based on Google's material design guidelines, packed in a full responsive template with a well-defined - and [easily customizable color palette]({{< relref "getting-started/index.md#changing-the-color-palette" >}}), great typography, as well as a + and [easily customizable color palette]({{< relref "getting-started#changing-the-color-palette" >}}), great typography, as well as a beautiful search interface and footer. - Well-tested and optimized Javascript and CSS including a cross-browser @@ -38,14 +38,14 @@ git clone git@github.com:digitalcraftsman/hugo-material-docs.git themes/hugo-mat the [checkbox hack](http://tutorialzine.com/2015/08/quick-tip-css-only-dropdowns-with-the-checkbox-hack/) with fallbacks, responsive tables that scroll when the screen is too small and well-defined print styles. -- Extra configuration options like a [project logo]({{< relref "getting-started/index.md#adding-a-logo" >}}), links to the authors - [GitHub and Twitter accounts]({{< relref "getting-started/index.md#adding-a-github-and-twitter-account" >}}) and display of the amount of stars the +- Extra configuration options like a [project logo]({{< relref "getting-started#adding-a-logo" >}}), links to the authors + [GitHub and Twitter accounts]({{< relref "getting-started#adding-a-github-and-twitter-account" >}}) and display of the amount of stars the project has on GitHub. - Web application capability on iOS – when the page is saved to the homescreen, it behaves and looks like a native application. -See the [getting started guide]({{< relref "getting-started/index.md" >}}) for instructions how to get +See the [getting started guide]({{< relref "getting-started" >}}) for instructions how to get it up and running. ## Acknowledgements