Commit Graph

13 Commits

Author SHA1 Message Date
Alexandros
5d9d7786a2 Update HugoBasicExample Content (#45)
Closes #7 , closes #9 

The existing outdated Hugo documentation in this repo will be replaced with the following more-or-less *evergreen* content:

- **Markdown & HTML Syntax Guide** shows whether a theme has decorated basic HTML elements with CSS. Note that I have not included the Markdown syntax for aligning table columns due to: https://github.com/russross/blackfriday/issues/506

- **Rich Content** features a brief showcase of Hugo’s Privacy config and related Simple shortcodes. Note that I have chosen to embed content that showcases typography by several designers in various media including a 360° interactive YouTube video (for inspiration). Also these embeds should be covered under [Fair Use](https://fairuse.stanford.edu/overview/fair-use/what-is-fair-use/) since these are meant for teaching users how these Hugo shortcodes work.

- **Placeholder Content** includes dummy copy along with a diagram and a link with info about the *Van de Graaf Canon* for constructing layouts (that can also be applied to websites). Note: the diagram is Open Source and taken from https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon (there is a link to this page in the caption).

- **Math Typesetting** a brief tutorial about enabling KaTeX in Hugo (the Hugo Docs mention MathJax which is slower)

- **Emoji Support** brief tutorial about Hugo’s built-in Unicode emoji support (as mentioned in the Hugo Docs) but also this includes an original technique for enabling non Unicode emoji in Hugo by using Static Image Replacement with the `replaceRE` function. Note: custom icons are from the Open Source [Mutant Standard](https://mutant.tech) emoji set.

Also note that the **About** Page has been expanded and updated to reflect Hugo’s current features.

---

**NOTES**

Besides quoting from the Hugo Docs (when needed), these content files contain original content written and curated by me and whatever sources I used were modified  to such an extent that there is no need for footnotes.

The author credit for the new content is Hugo Authors since this is meant for the Hugo community -of which I am a current member- furthermore the content also may be modified by someone else in the future, so this credit seems more appropriate than one with my name.

P.S. @digitalcraftsman I have not included a guide about Modular Typography as this would have been quite involved and I am running out of time.

P.S.2 This PR also fixes the path of the `menu.main` `/about/` item see: #41 by @guylyons
2019-03-11 17:58:40 +01:00
Alexandros
24a0baeb7f Fixes (#43)
This PR fixes the issues that have arisen with #42 and it needs to be merged before https://github.com/gohugoio/hugoThemes/pull/600
2019-03-09 11:28:06 +01:00
Alexandros
63e2524024 Refactor HugoBasicExample (#42) 2019-03-08 17:28:41 +01:00
Alexandros
946616d8e1 Disable French (#30) 2019-02-21 20:44:53 +01:00
Alexandros
7261cc00cf Move About menu item to config (#28)
This should fix the About menu item duplication in various theme demos like in [this one](https://themes.gohugo.io//theme/hermit/)
2019-02-21 14:05:15 +01:00
Alexandros
d5a9c64a7c Move menu configuration in config.toml (#25) 2019-02-20 20:30:20 +01:00
Alexandros
433a25658e Disable French (#21)
Commit 93a7b4c had the side effect of causing existing theme demos that rely on the HugoBasicExample to display the French language posts.

So with this PR the French translation of the posts is disabled by default, to keep things for existing demos as before.

**NOTE**
When we are done with overhauling the HugoBasicExample we will need to add documentation in its README. 

For example in this case we will need to state that authors who wish to have a multilingual theme demo will need to remove `disableLanguages = ["fr"]` from the exampleSite config.
2019-02-19 17:07:25 +01:00
Rémy Jacquin
93a7b4c297 Added french posts translation for testing internationalization (i18n) (#11) 2019-02-17 11:28:24 +01:00
Anthony Fok
3b9de18696
Fix minor typos and update copyright year 2018-05-17 12:47:47 -06:00
Bjørn Erik Pedersen
d052d19001 Remove themeSite specific params from config 2015-07-10 09:53:54 +02:00
bep
d86276c292 Add some more content
And pagination config to show pagination in the themes that support that.
2015-03-08 14:29:02 +01:00
bep
2865adaaf3 Set canonifyurls = true 2015-03-01 16:27:44 +01:00
spf13
875efde235 Example site for themes 2014-04-26 16:00:10 -06:00