diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-31 21:01:40 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-31 21:03:54 +0200 |
commit | ce4943e8bf7b11fd174fe62e258dd827ca03d238 (patch) | |
tree | 5d009eed0a8f8826cb9126ca8962e7e40bd2291f /themes/researcher/README.md | |
parent | Config: Enable robots.txt (diff) | |
download | baitinq.ml-ce4943e8bf7b11fd174fe62e258dd827ca03d238.tar.gz baitinq.ml-ce4943e8bf7b11fd174fe62e258dd827ca03d238.tar.bz2 baitinq.ml-ce4943e8bf7b11fd174fe62e258dd827ca03d238.zip |
Add blog and projects template
Diffstat (limited to 'themes/researcher/README.md')
-rw-r--r-- | themes/researcher/README.md | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/themes/researcher/README.md b/themes/researcher/README.md new file mode 100644 index 0000000..816a836 --- /dev/null +++ b/themes/researcher/README.md @@ -0,0 +1,50 @@ +# Researcher + +A simple monospaced resume theme for Hugo. It was ported from Jekyll theme +[ankitsultana/researcher](https://github.com/ankitsultana/researcher). + +## Screenshot +![thumbnail](https://github.com/ojroques/hugo-researcher/blob/master/images/tn.png) + +## Installation +This theme uses Sass to generate CSS files so make sure you have the +*extended* Hugo version installed. + +Add the theme to your site's `themes` directory: +```bash +git submodule add https://github.com/ojroques/hugo-researcher.git themes/researcher +# if your website is not managed by git: +# git clone https://github.com/ojroques/hugo-researcher.git themes/researcher +``` + +Update the theme option in `config.toml`: +```toml +theme = "researcher" +``` + +## Configuration +A self-explanatory configuration file is present in +[exampleSite/config.toml](https://github.com/ojroques/hugo-researcher/blob/master/exampleSite/config.toml), +along the files of a demo website. + +## KaTeX +You can enable [KaTeX](https://katex.org/) (math typesetting) by including +`math: true` in your content files. Or you can enable it globally by setting +`math` to `true` in your project config. + +Hugo introduces tags when it sees newlines which breaks KaTeX block +environments. The theme has a `math` shortcode to circumvent this issue: +```md +{{< math >}} +\begin{pmatrix} +a & b \\ +c & d +\end{pmatrix} +{{< /math >}} +``` +Check [this +issue](https://github.com/ojroques/hugo-researcher/issues/1#issuecomment-697247056) +for more details. + +## License +[GPL-3.0 License](https://github.com/ojroques/hugo-researcher/blob/master/LICENSE) |