From 9ddf2d2011521ace7b23fdebad83e9b78f99e858 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Wed, 21 Jun 2017 22:41:09 -0500 Subject: mention hugo-xmin pull requests to implement other features --- exampleSite/content/about.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index 949c9a8..bf8c483 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -74,6 +74,22 @@ You can certainly enable highlight.js for syntax highlighting by yourself throug If you do not like the default fonts (e.g., `Palatino`), you may provide your own `static/css/fonts.css` under the root directory of your website to override the `fonts.css` in the theme. +# Other features + +I could have added more features to this theme, but I decided not to, since I have no intention to make this theme feature-rich. However, I will teach you how. I have prepared several examples via pull requests at https://github.com/yihui/hugo-xmin/pulls, so that you can see the implementations of these features when you check out the diffs in the pull requests. For example, you can: + +- [Enable Google Analytics](https://github.com/yihui/hugo-xmin/pull/3) + +- [Enable Disqus comments](https://github.com/yihui/hugo-xmin/pull/4) + +- [Enable highlight.js for syntax highlighting of code blocks](https://github.com/yihui/hugo-xmin/pull/5) + +- [Display categories and tags on a page](https://github.com/yihui/hugo-xmin/pull/2) + +- [Add a link in the footer of each page to "Edit this page" on Github](https://github.com/yihui/hugo-xmin/pull/6) + +To fully understand these examples, you have to read [the section on Hugo templates](https://bookdown.org/yihui/blogdown/templates.html) in the **blogdown** book. + # Design philosophy Lastly, a few words about my design philosophy for this theme: I have been relying on existing frameworks like Bootstrap for years since I'm not really a designer, and I was always scared by the complexity of CSS. -- cgit 1.4.1