From 55e58786e60766b06abc14892cd62c836b82cf3b Mon Sep 17 00:00:00 2001 From: Julian Date: Wed, 11 Mar 2020 11:33:15 +0100 Subject: [PATCH] Fixed navbar collapse --- README.md | 2 +- assets/css/ace.scss | 8 +++++ exampleSite/config.toml | 5 ++++ .../content/getting-started/installation.md | 2 ++ layouts/partials/header.html | 30 +++++++++++-------- 5 files changed, 34 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4bdc27e..bfb32d8 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The documentation for Ace was, of course, built with Ace. Therefore, the documen - [Demo](https://docs.vantage-design.com/ace) - [Documentation](https://docs.vantage-design.com/ace) - [Issues](https://github.com/vantagedesign/ace-documentation/issues) -- [License](https://github.com/vantagedesign/ace-documentation/glob/master/LICENSE) +- [License](https://github.com/vantagedesign/ace-documentation/blob/master/LICENSE) ## Reporting Issues diff --git a/assets/css/ace.scss b/assets/css/ace.scss index 0244feb..097e3eb 100644 --- a/assets/css/ace.scss +++ b/assets/css/ace.scss @@ -1,3 +1,11 @@ +/* ------------------------------------------------------------------------- +* ACE DOCUMENTATION +* Stylesheet +* @author Vantage Design +* @version 1.0.0 +* @license https://github.com/vantagedesign/ace-documentation/blob/master/LICENSE +* ------------------------------------------------------------------------ */ + $primary: #007bff; $secondary: #6610f2; $success: #28a745; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 541e1c7..7723201 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -29,6 +29,11 @@ menushortcutsnewtab = true # set true to open shortcuts links to a new tab/windo [outputs] home = [ "HTML", "RSS", "JSON"] +[[menu.shortcuts]] +name = "More from us" +url = "https://vantage-design.com" +weight = 1 + [[menu.shortcuts]] name = "" url = "https://github.com/vantagedesign/ace-documentation" diff --git a/exampleSite/content/getting-started/installation.md b/exampleSite/content/getting-started/installation.md index 87cc285..a945dcb 100644 --- a/exampleSite/content/getting-started/installation.md +++ b/exampleSite/content/getting-started/installation.md @@ -10,6 +10,7 @@ Installing Ace is easy. Just install the Hugo binary, create a new site and inst ## Installing Hugo In order to run this theme, you need to install Hugo on your system. +This theme requires Hugo's extended version to support SCSS compilation, so make please sure you install the extended version. For more detailed information and other methods of installation you can visit the Hugo installation guide. There may be other ways to install Hugo that are more applicable for your project. For example, you can use the NPM package hugo-bin to include Hugo in a project that already uses NPM packages. @@ -19,6 +20,7 @@ Run the following command in your terminal to check if Hugo is installed. {{< code lang="bash" >}} hugo version {{< /code >}} +Make sure the version name mentions extended, to indicate you've installed the extended version of Hugo, which is required for this theme. ## Creating a site Create a new site *docs* (you may choose any name you want). In your projects root folder, run the following command: diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5d0170e..25c9c01 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,20 +1,26 @@ -