From e465efcf5142d5af2ec9164b69f72f332ff75273 Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Wed, 28 Jun 2017 18:20:20 +0100 Subject: [PATCH] canonified URLs --- config.toml | 3 +- content/_index.md | 2 - content/patterns/code/code-blocks.md | 2 +- public/categories/index.xml | 4 +- public/index.html | 75 +-- public/index.xml | 52 +-- public/patterns/code/code-blocks/index.html | 243 ++++++++++ .../code/codepen-embedding/index.html | 271 +++++++++++ public/patterns/code/index.html | 231 ++++++++++ public/patterns/code/index.xml | 47 ++ .../code/writing-inline-demos/index.html | 346 ++++++++++++++ public/patterns/index.html | 34 +- public/patterns/index.xml | 16 +- public/patterns/installation/index.html | 32 +- public/patterns/library-setup/index.html | 433 ++++++++++++++++++ public/patterns/serving/index.html | 30 +- .../writing/expandable-sections/index.html | 289 ++++++++++++ .../writing/including-images/index.html | 30 +- public/patterns/writing/index.html | 40 +- public/patterns/writing/index.xml | 28 +- .../writing/library-structure/index.html | 32 +- .../writing/markdown-and-metadata/index.html | 30 +- .../writing/notes-and-warnings/index.html | 32 +- public/patterns/writing/references/index.html | 32 +- public/sitemap.xml | 36 +- public/tags/index.xml | 4 +- 26 files changed, 2093 insertions(+), 281 deletions(-) create mode 100644 public/patterns/code/code-blocks/index.html create mode 100644 public/patterns/code/codepen-embedding/index.html create mode 100644 public/patterns/code/index.html create mode 100644 public/patterns/code/index.xml create mode 100644 public/patterns/code/writing-inline-demos/index.html create mode 100644 public/patterns/library-setup/index.html create mode 100644 public/patterns/writing/expandable-sections/index.html diff --git a/config.toml b/config.toml index 091bb4f..90ef410 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,7 @@ languageCode = "en-us" title = "Infusion" -baseURL = "/" +baseURL = "https://heydon.github.io/inclusive-pattern-library/" +canonifyURLs = true theme = "infusion" [params] diff --git a/content/_index.md b/content/_index.md index f33ce86..121fe7b 100644 --- a/content/_index.md +++ b/content/_index.md @@ -13,5 +13,3 @@ Welcome to **Infusion**: a pattern library builder with a focus on inclusive int * Choose between plain or line-numbered code blocks * A responsive, screen reader and keyboard accessible output site {{% /ticks %}} - -To get started using **Infusion**, you'll first need to look at the {{% pattern "Installation" %}} pattern. diff --git a/content/patterns/code/code-blocks.md b/content/patterns/code/code-blocks.md index b577112..4f3c395 100644 --- a/content/patterns/code/code-blocks.md +++ b/content/patterns/code/code-blocks.md @@ -35,7 +35,7 @@ toggle.addEventListener('click', (e) => { {{</codeBlock>}} {{}} -The output will look like the following. Now you are able to refer to particular bits of the code, like the arrow function on line `3`. +The output will look like the following. Now you can refer to particular bits of the code by line number, like the arrow function on line `3`. {{}} var toggle = demo.querySelector('[aria-pressed]'); diff --git a/public/categories/index.xml b/public/categories/index.xml index 6475998..6f64343 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -2,12 +2,12 @@ Categories on Infusion - /categories/ + https://heydon.github.io/inclusive-pattern-library/categories/ Recent content in Categories on Infusion Hugo -- gohugo.io en-us - + diff --git a/public/index.html b/public/index.html index dbb2905..f064993 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ - + @@ -58,7 +58,7 @@

Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.

@@ -68,7 +68,7 @@
-

To get started using Infusion, you’ll first need to look at the - - - - - - - - - - - - - - - - - - - - - - - - - Installation - - - - - - - - - - - - - - - - - - pattern.

-