diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d04c16e..ef2d95e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,10 +5,9 @@ theme = "cupper-hugo-theme" googleAnalytics = "UA-123456789-1" # Uncomment below to enable syntax highlighting -# pygmentsCodefences = true -# pygmentsCodefencesGuessSyntax = true # For more styles see https://xyproto.github.io/splash/docs/all.html -# pygmentsStyle = "pygments" +# pygmentsCodefences = true +# pygmentsStyle = "algol" [taxonomies] tag = "tags" @@ -17,32 +16,30 @@ googleAnalytics = "UA-123456789-1" post = "/:filename/" [menu] - [[menu.main]] + [[menu.nav]] name = "Home" url = "/" weight = 1 - [[menu.main]] + [[menu.nav]] name = "Blog" url = "/post/" weight = 2 - [[menu.main]] + [[menu.nav]] name = "Tags" url = "/tags/" weight = 3 - [[menu.main]] + [[menu.nav]] name = "About" url = "/about/" weight = 4 - [[menu.main]] + [[menu.nav]] name = "RSS" url = "/index.xml" weight = 5 [params] - description = "Documentation for the **Cupper** documentation builder, built with **Cupper** itself." - footerText = "Made with [Hugo](https://gohugo.io/) & TODO" - hideFooter = false - # Keep? - codePenUser = "Heydon" - # TODO link to date format docs page - dateFormat = "Jan 2, 2006" \ No newline at end of file + # description = "An accessibility-friendly Hugo theme, ported from the [original Cupper](https://github.com/ThePacielloGroup/cupper) project." + footer = "Made with [Hugo](https://gohugo.io/). Themed by [Cupper](https://github.com/zwbetz-gh/cupper-hugo-theme). Deployed to [Netlify](https://www.netlify.com/)." + # For more date formats see https://gohugo.io/functions/format/ + dateFormat = "Jan 2, 2006" + codePenUser = "TODO" \ No newline at end of file diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 8ffebd0..242d37d 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -1,18 +1,12 @@ +++ date = "2017-06-26T18:27:58+01:00" -title = "The Cupper Documentation Builder" +title = "Home" +++ -Welcome to **Cupper**: a documentation builder for inclusive designers and those trying to be inclusive designers. These are **Cupper's** docs, but they are also an example of a site built with **Cupper**. Here are some of its features: +Welcome to **Cupper**: An accessibility-friendly Hugo theme, ported from the [original Cupper](https://github.com/ThePacielloGroup/cupper) project. Here are some of its features: {{% ticks %}} -* Built with [Hugo](https://gohugo.io/), so easy to structure content and fast to compile it -* Available to read offline, as a [Progressive Web App](https://developers.google.com/web/progressive-web-apps/) -* Include encapsulated live demos, inline with your markdown, [using Shadow DOM](https://www.smashingmagazine.com/2017/07/pattern-libraries-in-markdown/) -* Quickly include WCAG and [Inclusive Design Principles](http://inclusivedesignprinciples.org/) references -* A responsive, screen reader and keyboard accessible static site as output -* Automated Github Pages deployment -* Includes a single-page printable version suitable for PDF conversion +* Responsive +* Screen reader and keyboard accessible +* TODO {{% /ticks %}} - -To get started, take a look at {{% pattern "Installation" %}}. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a652d3e..1d951dc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -38,11 +38,9 @@ {{ end }} - {{ if ne .Type "print-version" }} - skip to content - {{ end }} + skip to content {{ partial "svg.html" . }} -
+
- Powered by Cupper, a The Paciello Group project.
- For general enquiries, contact us on info@paciellogroup.com. + {{ .Site.Params.footer | markdownify }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 811d441..7290243 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@ diff --git a/layouts/patterns/li.html b/layouts/post/li.html similarity index 100% rename from layouts/patterns/li.html rename to layouts/post/li.html diff --git a/layouts/patterns/single.html b/layouts/post/single.html similarity index 100% rename from layouts/patterns/single.html rename to layouts/post/single.html