Commit Graph

71 Commits

Author SHA1 Message Date
Aditya Telange
1cdcb120e1
Update config.toml 2020-07-24 16:40:25 +05:30
Aditya Telange
8eed05ea4c
Update archives.md 2020-07-23 14:31:26 +05:30
Aditya Telange
f873df21d5 update examplesite 2020-07-23 13:59:20 +05:30
Aditya Telange
78f6dacfce update hugoBasicExample according to hugo-PaperMod 2020-07-22 14:31:35 +05:30
Jhaura Wachsman
e4440a1848
Project and Content Cleanup, Normalization (#61) 2020-06-03 20:34:16 +02:00
Alexandros
a83885a33e
Fix nested list example 2020-05-28 19:32:23 +03:00
Alexandros
f6f3d298cc
Upgrade KaTex + workaround for Inline Math
For an equation to render inline make sure to wrap it within an inline shortcode so that the Markdown processor is not used for parsing.

Also note that for inline KaTex since `katex@0.11.1` use the `\( ... \)` delimiters and not the `$` sign.

Closes: #60
2020-05-28 00:25:02 +03:00
Alex
c4afa25a5a Remove mmark 2020-05-22 22:21:34 +03:00
Alex
63553fff74 Add archives content file
Also this reverts the previous commit
2020-02-10 09:54:47 +02:00
Alexandros
85f3f6fafb Add alias 2020-02-10 09:46:23 +02:00
Alexandros
17ecccfb80
Mention goldmark instead of blackfriday 2019-12-23 14:18:43 +02:00
Alexandros
6be5fbbea9
Remove backslash at the end of baseURL
Also see: https://github.com/gohugoio/hugoThemesSite/issues/72
2019-12-10 13:07:05 +02:00
Alexandros
d8a289e04a
Add timeout (#56) 2019-11-22 19:35:50 +02:00
Alexandros
803ed8eb05
Update README.md (#55)
This closes #38 

This re-write aims to provide some instructions for this repo to theme authors and other users.
2019-10-07 20:26:04 +03:00
Alexandros
992ef265a3
Cleanup repo (#54) 2019-10-05 10:29:36 +03:00
Alexandros
f3f9fec642
Refactor and simplify (#53) 2019-08-27 21:28:16 +03:00
digitalcraftsman
496ee817c3
Remove first headline from post
.Summary contains the headline rendered as <h2> tag which can break the layout of post listings in which the summary is used.
2019-05-14 17:39:45 +02:00
Alexandros
af49559963 Minor Corrections (#49) 2019-03-24 10:43:08 +01:00
Alexandros
0d072e1af9 Add Docs alias (#48)
This is needed for this theme submission: https://github.com/gohugoio/hugoThemes/issues/605
2019-03-23 12:17:22 +01:00
Digitalcraftsman
23d9926b19 Move image in sample post further demo
This prevents the image from appearing as part of the preview / summary
of this content file.
2019-03-16 14:38:59 +01:00
Alex
92cfcd67f5 Corretions 2019-03-12 07:45:55 +01:00
Alexandros
4a9e2433df Remove outdated content (#46)
For some reason the old content was not deleted when #45 was merged.

So I am sending this one to have it removed.

cc: @digitalcraftsman
2019-03-11 20:30:20 +01:00
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
63f0ae9e4d Assign multiple content types (#37) 2019-02-25 19:31:45 +01:00
Alexandros
7371797b1f Revert author parameter back to a string (#36)
This reverts the author front matter parameter back to a string in order to fix the 12 theme demos that broke with #33 

The demos that were supposed to be fixed in that PR were whiteListed with https://github.com/gohugoio/hugoThemes/pull/586
2019-02-25 19:28:21 +01:00
Alexandros
3dd21719f1 Update Content (#33) 2019-02-23 17:27:49 +01:00
Alexandros
8357e46a5e Add Posts Type (#31)
This PR adds a `type = "posts"` for themes that need it. 

Most notably [Hyde Hyde](https://themes.gohugo.io/theme/hyde-hyde/) that currently has its index page empty will have it populated with posts once again.

If more themes need different content types I will see whether it is possible to turn `type` into an array to add more of these.
2019-02-22 08:46:58 +01:00
Alexandros
946616d8e1 Disable French (#30) 2019-02-21 20:44:53 +01:00
Alexandros
b3742c5b52 Add more Aliases (#29) 2019-02-21 14:29:43 +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
2941cdef6a Add more Taxonomies configuration (#27)
This PR adds the default Hugo taxonomies configuration in the second config of the HugoBasicExample.

This PR will fix a number of theme demos that currently require the default Hugo taxonomies.

For example the [Plain Blog](https://themes.gohugo.io/plain-blog/) theme demo will generate once again after this PR is merged.
2019-02-21 10:46:48 +01:00
Alexandros
5cf42a224f Remove SymLink Add Aliases (#26)
This PR reverts commit 6ad74b6 and instead adds the following under `content/post/_index.md`:
```
aliases = ["posts","articles"]
```

Basically the symlink from #24 duplicated all posts in theme demos, so it needs to be removed.

Aliases on the other hand thanks to the Netlify Redirect Output Format defined in the gohugoio theme over [here](4320e757c9/config.toml (L21-L31)) and [here](https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/index.redir) become 301 redirects, so they hopefully offer a solution to the issue of the various themes using different sections in their demos that I described in https://github.com/gohugoio/hugoBasicExample/pull/24
2019-02-21 00:53:36 +01:00
Alexandros
d5a9c64a7c Move menu configuration in config.toml (#25) 2019-02-20 20:30:20 +01:00
Alexandros
6ad74b6295 Add posts symlink (#24)
Some themes like for example [Hyde Hyde](https://github.com/htr3n/hyde-hyde/tree/master/exampleSite/content) have their content files under a section called `posts` 

Currently the index page of these theme demos renders empty because there is no `posts` section in the HugoBasicExample.

So to fix this I have added a symlink called `posts` that points to the content files located under the `post` of the HugoBasicExample repo.

In theory this workaround can be used for other sections as well like e.g. `articles` etc (as long as it doesn't break anything).
2019-02-20 19:21:10 +01:00
Alexandros
895ce916d5 Re-add Series Taxonomy with 2nd config (#23) 2019-02-20 14:14:52 +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
Alexandros
b92f88f27c Revert "Add Series Taxonomy (#19)" (#22)
This reverts commit 4e47e94a69.

A [great number](https://app.netlify.com/sites/hugothemes/deploys/5c6936d1dddaef000819a6e8) of theme demos on the website broke because of this commit due to the following:

- Series is on the predefined frontmatter variable lists due to its use in the internal opengraph template.
- Series is predefined as an array whereas I entered it as a string.
- Also series needs to be defined as a Taxonomy in the config of an exampleSite. Since the config is inherited by theme authors if they have not defined the series taxonomy then their demo will again break.

**NOTE**
I will be more rigorous with testing before sending more PRs.

cc: @digitalcraftsman
2019-02-19 16:21:58 +01:00
Rémy Jacquin
93a7b4c297 Added french posts translation for testing internationalization (i18n) (#11) 2019-02-17 11:28:24 +01:00
Alexandros
4e47e94a69 Add Series Taxonomy (#19)
Closes #18
2019-02-17 11:03:17 +01:00
Hanzei
278f6dee51 Add install instructions for single theme in README.md
Fixed #12
2018-08-08 22:11:05 +02:00
Anthony Fok
3b9de18696
Fix minor typos and update copyright year 2018-05-17 12:47:47 -06:00
Bjørn Erik Pedersen
405c351815
Update about.md 2018-03-09 15:55:05 +01:00
Bjørn Erik Pedersen
96cfc46abb Remove some outdated info 2017-06-16 00:33:48 +02:00
digitalcraftsman
f7270cb4e1 README: Fix typo in command to clone hugoBasicExample 2017-06-15 20:37:03 +02:00
attwad
7f0db69a6f Fix typo in command to clone hugoBasicExample 2017-06-15 22:06:38 +09:00
digitalcraftsman
8abbea4894 Update links in README due to the org transition 2017-06-13 19:23:18 +02:00
digitalcraftsman
217cd2cd8f Update links in README due to the org transition 2017-06-13 19:10:45 +02:00
Bjørn Erik Pedersen
d052d19001 Remove themeSite specific params from config 2015-07-10 09:53:54 +02:00