From 8e879422400eaeb3bab225068e671a5e146bdcde Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Wed, 1 Feb 2017 18:20:49 -0600 Subject: [PATCH] Update with first round of nav scaffolding --- config.toml | 15 +- content/{about => About Hugo}/_index.md | 4 +- content/{about => About Hugo}/features.md | 6 +- .../introduction-to-hugo.md | 4 - content/{about => About Hugo}/license.md | 4 - content/{about => About Hugo}/roadmap.md | 6 +- .../{about => About Hugo}/why-i-built-hugo.md | 10 +- .../{content => Managing Content}/_index.md | 0 .../archetypes.md | 0 .../content-summaries.md | 0 .../front-matter.md | 0 .../markdown-and-supported-formats.md | 0 .../multilingual-mode.md | 0 .../{content => Managing Content}/sections.md | 0 .../_index.md} | 0 content/Templating/_index.md | 14 ++ content/Templating/ace-templating.md | 14 ++ content/Templating/amber-templating.md | 14 ++ content/Templating/data-templates.md | 14 ++ content/Templating/golang-primer.md | 14 ++ content/Templating/homepage-template.md | 14 ++ content/Templating/list-page-template.md | 14 ++ content/Templating/shortcodes.md | 14 ++ content/Templating/single-page-template.md | 14 ++ content/Templating/taxonomy-templates.md | 14 ++ content/Templating/template-debugging.md | 14 ++ content/Templating/template-types.md | 14 ++ content/Templating/template-variables.md | 14 ++ content/Templating/template-views.md | 14 ++ content/Templating/touch | 0 content/_index.md | 14 ++ content/community/_index.md | 16 -- content/content/types-and-layouts.md | 15 -- content/functions/GetPage.md | 4 +- content/functions/_index.md | 4 +- content/functions/safeCSS.md | 2 - content/functions/safeHTML.md | 2 - content/functions/safeHTMLAttr.md | 2 - content/functions/safeJS.md | 2 - content/getting started/_index.md | 6 +- .../getting started/install-from-source.md | 2 +- content/getting started/install-on-linux.md | 2 +- content/getting started/install-on-mac.md | 2 +- content/getting started/install-on-pc.md | 2 +- content/migrations/_index.md | 16 -- content/project organization/_index.md | 16 -- content/site showcase/_index.md | 2 +- content/starter kits/_index.md | 16 -- content/troubleshooting/_index.md | 22 ++- themes/hugodocs/archetypes/default.md | 7 +- themes/hugodocs/archetypes/showcase.md | 6 +- themes/hugodocs/layouts/_default/baseof.html | 26 ++-- themes/hugodocs/layouts/_default/section.html | 4 +- themes/hugodocs/layouts/index.html | 2 +- .../layouts/partials/footer/site-scripts.html | 2 - .../layouts/partials/google-analytics.html | 0 .../partials/head/metadata-opengraph.html | 28 ++-- .../partials/head/metadata-standard.html | 2 +- .../partials/header/site-navigation.html | 3 - .../layouts/partials/site-header.html | 7 +- .../partials/site-navigation-sidebar.html | 22 +++ ...oogle-analytics.html => site-scripts.html} | 2 + themes/hugodocs/pipeline/js/scripts/prism.js | 18 +++ themes/hugodocs/pipeline/scss/_variables.scss | 17 ++- themes/hugodocs/pipeline/scss/base/_base.scss | 11 ++ .../pipeline/scss/components/_anchors.scss | 7 + .../pipeline/scss/components/_images.scss | 4 + .../pipeline/scss/components/_lists.scss | 10 ++ .../pipeline/scss/layout/_site-content.scss | 3 + .../pipeline/scss/layout/_site-header.scss | 30 ++++ themes/hugodocs/pipeline/scss/style.scss | 11 +- .../hugodocs/pipeline/scss/vendor/_prism.scss | 139 ++++++++++++++++++ themes/hugodocs/static/css/style.min.css | 2 +- themes/hugodocs/static/images/hugo-logo.png | Bin 0 -> 13782 bytes .../static/images/hugodefaultsocial.png | Bin 0 -> 84261 bytes themes/hugodocs/static/js/script.min.js | 5 +- 76 files changed, 556 insertions(+), 204 deletions(-) rename content/{about => About Hugo}/_index.md (89%) rename content/{about => About Hugo}/features.md (93%) rename content/{about => About Hugo}/introduction-to-hugo.md (99%) rename content/{about => About Hugo}/license.md (99%) rename content/{about => About Hugo}/roadmap.md (76%) rename content/{about => About Hugo}/why-i-built-hugo.md (93%) rename content/{content => Managing Content}/_index.md (100%) rename content/{content => Managing Content}/archetypes.md (100%) rename content/{content => Managing Content}/content-summaries.md (100%) rename content/{content => Managing Content}/front-matter.md (100%) rename content/{content => Managing Content}/markdown-and-supported-formats.md (100%) rename content/{content => Managing Content}/multilingual-mode.md (100%) rename content/{content => Managing Content}/sections.md (100%) rename content/{content/supported-formats.md => Migrating to Hugo/_index.md} (100%) create mode 100644 content/Templating/_index.md create mode 100644 content/Templating/ace-templating.md create mode 100644 content/Templating/amber-templating.md create mode 100644 content/Templating/data-templates.md create mode 100644 content/Templating/golang-primer.md create mode 100644 content/Templating/homepage-template.md create mode 100644 content/Templating/list-page-template.md create mode 100644 content/Templating/shortcodes.md create mode 100644 content/Templating/single-page-template.md create mode 100644 content/Templating/taxonomy-templates.md create mode 100644 content/Templating/template-debugging.md create mode 100644 content/Templating/template-types.md create mode 100644 content/Templating/template-variables.md create mode 100644 content/Templating/template-views.md create mode 100644 content/Templating/touch create mode 100644 content/_index.md delete mode 100644 content/community/_index.md delete mode 100644 content/content/types-and-layouts.md delete mode 100644 content/migrations/_index.md delete mode 100644 content/project organization/_index.md delete mode 100644 content/starter kits/_index.md delete mode 100644 themes/hugodocs/layouts/partials/footer/site-scripts.html create mode 100644 themes/hugodocs/layouts/partials/google-analytics.html delete mode 100644 themes/hugodocs/layouts/partials/header/site-navigation.html create mode 100644 themes/hugodocs/layouts/partials/site-navigation-sidebar.html rename themes/hugodocs/layouts/partials/{footer/google-analytics.html => site-scripts.html} (85%) create mode 100644 themes/hugodocs/pipeline/js/scripts/prism.js create mode 100644 themes/hugodocs/pipeline/scss/base/_base.scss create mode 100644 themes/hugodocs/pipeline/scss/components/_anchors.scss create mode 100644 themes/hugodocs/pipeline/scss/components/_images.scss create mode 100644 themes/hugodocs/pipeline/scss/layout/_site-content.scss create mode 100644 themes/hugodocs/pipeline/scss/vendor/_prism.scss create mode 100644 themes/hugodocs/static/images/hugo-logo.png create mode 100644 themes/hugodocs/static/images/hugodefaultsocial.png diff --git a/config.toml b/config.toml index 243b4cbe8..d41e015d9 100644 --- a/config.toml +++ b/config.toml @@ -7,8 +7,11 @@ canonifyurls = true config = "config.toml" contentdir = "content" copyright = "" +defaultContentLanguage = "en" # Set to true is you don't want livereload in local development -disableLiveReload= false +disableLiveReload = false +# Set to true to keep url path preserve casing (eg, for sections) +disablePathToLower = false # Set to false if you want rss xml files auto-generated disableRSS = false # Set to false if you want a sitemap.xml created at the site root @@ -34,8 +37,10 @@ publishdir = "public" pygmentsUseClasses = true relativeURLs = true source = "" +# Display memory and timing of different steps of the program +stepAnalysis = true # This is the top-level, global site title -title = "Hugo Docs Concept" +title = "Hugo" # Change this once you've created your theme theme = "hugodocs" # Set to true to convert mysite/section/ to mysite/section.html @@ -59,7 +64,7 @@ watch = true ## Critical Render Path. If true, site style will be embedded in a