chao-peng / hugo-researcher

A simple resume theme for Hugo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Researcher

A simple monospaced resume theme for Hugo. It was ported from Jekyll theme ankitsultana/researcher.

Screenshot

thumbnail

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:

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:

theme = "researcher"

Configuration

A self-explanatory configuration file is present in exampleSite/config.toml, along the files of a demo website.

KaTeX

You can enable KaTeX (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:

{{< math >}}
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
{{< /math >}}

Check this issue for more details.

License

GPL-3.0 License

About

A simple resume theme for Hugo

License:GNU General Public License v3.0


Languages

Language:HTML 59.9%Language:SCSS 40.1%