diff --git a/config.toml b/config.toml index b8b18c7..ea4fdf6 100644 --- a/config.toml +++ b/config.toml @@ -6,5 +6,5 @@ theme = "infusion" publishDir = "docs" [params] - description = "Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself." + description = "Documentation for the **Infusion** pattern library builder. This documentation is constructed using the builder itself." codePenUser = "Heydon" diff --git a/content/patterns/library-setup.md b/content/patterns/library-setup.md index 5468446..f0bdebd 100644 --- a/content/patterns/library-setup.md +++ b/content/patterns/library-setup.md @@ -33,14 +33,14 @@ baseURL = "https://heydon.github.io/infusion/" theme = "infusion" [params] - description = "Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself." + description = "Documentation for the **Infusion** pattern library builder. This documentation is constructed using the builder itself." codePenUser = "Heydon" {{}} * **title** — This is the library's name, like "Megacorp 5000 Pattern Library". You don't have to include the term "pattern library" if you don't want to. For **Infusion's** own version of **Infusion**, the `title` is, naturally, _Infusion_ :-) * **baseURL** — This is the root of the live site. Typically you will publish the site to Github Pages, so this should be the base URL for your Github Pages site. * **theme** — This is the theme the library is using. Don't change this from "infusion". -* **description** — This is a short description of the library and comes under the logo. You can include HTML like `` and ``. +* **description** — This is a short description of the library and comes under the logo. You can include markdown syntax here, like _**Infusion**_ in the above example for making the name of the library bold. * **codePenUser** — If you want to embed codePens in your pattern files, you need to supply a codePen username here. ## Including a logo diff --git a/docs/patterns/library-setup/index.html b/docs/patterns/library-setup/index.html index 9a439a1..cdc732b 100644 --- a/docs/patterns/library-setup/index.html +++ b/docs/patterns/library-setup/index.html @@ -269,7 +269,7 @@ baseURL = "https://heydon.github.io/infusion/" theme = "infusion" [params] - description = "Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself." + description = "Documentation for the **Infusion** pattern library builder. This documentation is constructed using the builder itself." codePenUser = "Heydon" @@ -278,7 +278,7 @@ theme = "infusion"
  • title — This is the library’s name, like “Megacorp 5000 Pattern Library”. You don’t have to include the term “pattern library” if you don’t want to. For Infusion’s own version of Infusion, the title is, naturally, Infusion :-)
  • baseURL — This is the root of the live site. Typically you will publish the site to Github Pages, so this should be the base URL for your Github Pages site.
  • theme — This is the theme the library is using. Don’t change this from “infusion”.
  • -
  • description — This is a short description of the library and comes under the logo. You can include HTML like <em> and <strong>.
  • +
  • description — This is a short description of the library and comes under the logo. You can include markdown syntax here, like **Infusion** in the above example for making the name of the library bold.
  • codePenUser — If you want to embed codePens in your pattern files, you need to supply a codePen username here.
  • diff --git a/themes/infusion/layouts/_default/baseof.html b/themes/infusion/layouts/_default/baseof.html index d26f6c0..2ae73b4 100644 --- a/themes/infusion/layouts/_default/baseof.html +++ b/themes/infusion/layouts/_default/baseof.html @@ -42,7 +42,7 @@ -

    {{ .Site.Params.Description | safeHTML }}

    +

    {{ .Site.Params.Description | markdownify }}