diff options
author | Yihui Xie | 2017-06-21 22:41:09 -0500 |
---|---|---|
committer | Yihui Xie | 2017-06-21 22:41:09 -0500 |
commit | 9ddf2d2011521ace7b23fdebad83e9b78f99e858 (patch) | |
tree | 9589f14a0bcd3fd08b8226fadc649b59539b0129 /exampleSite | |
parent | fd1800795e31f199df2dc77dbcb686e3a7f4747f (diff) | |
download | hugo-xmin-9ddf2d2011521ace7b23fdebad83e9b78f99e858.tar.lz hugo-xmin-9ddf2d2011521ace7b23fdebad83e9b78f99e858.tar.zst hugo-xmin-9ddf2d2011521ace7b23fdebad83e9b78f99e858.zip |
mention hugo-xmin pull requests to implement other features
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/about.md | 16 |
1 files changed, 16 insertions, 0 deletions
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. |