All Projects → yihui → hugo-lithium

yihui / hugo-lithium

Licence: MIT License
Lithium - A simple responsive Hugo theme

Programming Languages

HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hugo-lithium

hugo-travelify-theme
Port of Aigars Silkalns's Wordpress theme Travelify to Hugo. Demo -
Stars: ✭ 34 (-50%)
Mutual labels:  hugo-theme, hugo
hugo-apero-docs
Apéro is a Hugo theme for personal websites. This is the documentation site, made with the theme 🍋
Stars: ✭ 56 (-17.65%)
Mutual labels:  hugo-theme, hugo
hugo-identity-theme
Little profile/card-style template for Hugo. Based on Identity by HTML5 UP.
Stars: ✭ 87 (+27.94%)
Mutual labels:  hugo-theme, hugo
simple-a
Minimalistic Hugo theme
Stars: ✭ 52 (-23.53%)
Mutual labels:  hugo-theme, hugo
Binario
Responsive card-based & code-light Hugo theme
Stars: ✭ 79 (+16.18%)
Mutual labels:  hugo-theme, hugo
geeky-hugo
Geeky is a Personal Hugo blog theme focused on high speed. Geeky is fully responsive, Superfast, and powered by Bootstrap v5.
Stars: ✭ 44 (-35.29%)
Mutual labels:  hugo-theme, hugo
forty
Forty theme - Hugo theme ported from HTML5UP origrinal theme called Forty.
Stars: ✭ 116 (+70.59%)
Mutual labels:  hugo-theme, hugo
showfolio-hugo-theme
Modern portfolio theme for your Hugo site
Stars: ✭ 56 (-17.65%)
Mutual labels:  hugo-theme, hugo
simpleit-hugo-theme
Responsive Hugo theme for hierarchical content websites
Stars: ✭ 16 (-76.47%)
Mutual labels:  hugo-theme, hugo
hugo-initio
Hugo Theme port of Initio bootstrap template by GetTemplate
Stars: ✭ 58 (-14.71%)
Mutual labels:  hugo-theme, hugo
vanilla-bootstrap-hugo-theme
A vanilla Bootstrap theme for Hugo
Stars: ✭ 63 (-7.35%)
Mutual labels:  hugo-theme, hugo
bookworm-light
Bookworm is a clean and modern Hugo blog theme focused on high speed and support multiple authors.
Stars: ✭ 59 (-13.24%)
Mutual labels:  hugo-theme, hugo
hugo-sugoi
Hugo-Sugoi - An Ultra Minimal Hugo Theme based on Skeleton
Stars: ✭ 29 (-57.35%)
Mutual labels:  hugo-theme, hugo
hugo-geekdoc
Hugo theme made for documentation
Stars: ✭ 284 (+317.65%)
Mutual labels:  hugo-theme, hugo
influencer-hugo
Influencer is a Hugo theme for book authors and writers. It has also Snipcart supports for order books and payments.
Stars: ✭ 66 (-2.94%)
Mutual labels:  hugo-theme, hugo
hugo-theme-iris
Hugo IRIS Theme - Portfolio and Blog
Stars: ✭ 49 (-27.94%)
Mutual labels:  hugo-theme, hugo
capsule
A Hugo theme based on the CSS-only Bulma framework.
Stars: ✭ 20 (-70.59%)
Mutual labels:  hugo-theme, hugo
yourfolio
⭐ Super simple and responsive theme for your personal website on Hugo
Stars: ✭ 28 (-58.82%)
Mutual labels:  hugo-theme, hugo
Blogpaper
A graphical newspaper like blog theme for Hugo.
Stars: ✭ 18 (-73.53%)
Mutual labels:  hugo-theme, hugo
hugo-tufte
Content centric Hugo blogging theme styled with Tufte-Css
Stars: ✭ 58 (-14.71%)
Mutual labels:  hugo-theme, hugo

Hugo Lithium

A simple responsive blog theme for Hugo forked from https://github.com/jrutheiser/hugo-lithium-theme with modifications to make it work better with blogdown.

The easiest way to get started is to create a new (empty) RStudio project, then

devtools::install_github('rstudio/blogdown')  # install blogdown
blogdown::new_site(theme = 'yihui/hugo-lithium')

Then you should be able to see an example website launched in the RStudio Viewer.

For the full documentation, please see this section in the blogdown book: https://bookdown.org/yihui/blogdown/themes.html

Features

  • Blog
  • Responsive
  • Disqus
  • Google Analytics
  • Google web fonts (Merriweather and Lato)
  • MathJax
  • highlight.js

Changes

The main changes I made to the original hugo-lithium-theme are:

  1. Added support for MathJax (for rendering LaTeX math expressions) and highlight.js (for syntax highlighting).

    • For both libraries, you can specify the CDN host (e.g., CloudFlare, BootCDN, ...).

    • For highlight.js, you can specify additional languages (e.g., r, yaml, tex, ...).

  2. Added Google web fonts (embedded in the theme so that visitors from countries where Google is banned can still see the typefaces).

  3. Improved Hugo's built-in Disqus template, so that you can actually view the comments even when you are previewing the website locally.

  4. Replaced the variable .Permalink with .RelPermalink, and function absURL with relURL where necessary. It is a bad idea to use full absolute links (with the protocol and domain) in general. For example, .Permalink and absURL may generate URLs of the form http://www.example.com/foo/bar.html, but /foo/bar.html is more portable.

License

The original hugo-lithium-theme was released by Jonathan Rutheiser under the MIT License. The modified version in this repository is also released under MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].