All Projects → activatedgeek → distillpub

activatedgeek / distillpub

Licence: MIT license
Hugo Theme for Distill

Programming Languages

HTML
75241 projects
TeX
3793 projects
Makefile
30231 projects

Projects that are alternatives of or similar to distillpub

hugo-prose
A Hugo theme derived from the XMin theme, and inspired by Wowchemy, Distill, and tufte.css
Stars: ✭ 76 (+145.16%)
Mutual labels:  hugo-theme, distill, distillpub
Hugo Orbit Theme
Great looking resume/CV theme designed for developers.
Stars: ✭ 217 (+600%)
Mutual labels:  hugo-theme, hugo
Hugo Best Practices
Best practices and ideas for Hugo the open-source static site generator.
Stars: ✭ 153 (+393.55%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Bootstrap4 Blog
A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Stars: ✭ 191 (+516.13%)
Mutual labels:  hugo-theme, hugo
Allinone
All in one Hugo theme
Stars: ✭ 155 (+400%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Pure
A pure theme for Hugo
Stars: ✭ 198 (+538.71%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Fuji
A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。
Stars: ✭ 145 (+367.74%)
Mutual labels:  hugo-theme, hugo
Hugo Eureka
Eureka is a feature-rich and highly customizable Hugo theme.
Stars: ✭ 239 (+670.97%)
Mutual labels:  hugo-theme, hugo
Hugo Clarity
A theme for Hugo based on VMware Clarity
Stars: ✭ 189 (+509.68%)
Mutual labels:  hugo-theme, hugo
Hugo Ink
Crisp, minimal personal website and blog theme for Hugo
Stars: ✭ 209 (+574.19%)
Mutual labels:  hugo-theme, hugo
Hugo Serif Theme
Serif is a modern business theme for Hugo.
Stars: ✭ 168 (+441.94%)
Mutual labels:  hugo-theme, hugo
Hugo Agency Theme
Port of Startbootstrap's Agency theme to Hugo
Stars: ✭ 155 (+400%)
Mutual labels:  hugo-theme, hugo
Bilberry Hugo Theme
Premium theme for the hugo site builder. DEMO:
Stars: ✭ 205 (+561.29%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Bleak
Bleak Ghost theme ported to Hugo
Stars: ✭ 153 (+393.55%)
Mutual labels:  hugo-theme, hugo
Hugo Future Imperfect Slim
Multilingual Blogging Theme for Hugo | Check the Wiki for Documentation
Stars: ✭ 233 (+651.61%)
Mutual labels:  hugo-theme, hugo
Keepit
The most powerful minimal Hugo theme.
Stars: ✭ 151 (+387.1%)
Mutual labels:  hugo-theme, hugo
Hugo theme pickles
Modern, Simple and beautiful Hugo theme
Stars: ✭ 168 (+441.94%)
Mutual labels:  hugo-theme, hugo
Aether
A responsive and clean Hugo theme for blogs
Stars: ✭ 136 (+338.71%)
Mutual labels:  hugo-theme, hugo
Hugrid
Hugrid (Hugo+grid) is a simple grid theme for Hugo. It's a kind of boilerplate to perform anyone or anything quickly. Portfolio, collection, bookmarks, contacts and so on.
Stars: ✭ 136 (+338.71%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Console
A minimal, responsive and light theme for Hugo inspired by Linux console.
Stars: ✭ 143 (+361.29%)
Mutual labels:  hugo-theme, hugo

DistillPub

Netlify Status Status Beta Hugo Version

This is the Hugo theme for Distill. It is aimed primarily at authors who'd like to self-host Distill like expositions with Hugo.

It is currently based off Distill Template v2.

See a hosted demo at https://distillpub.sanyamkapoor.com.

Documentation

Front Matter

For an up-to-date list of front matter options, see distill.md.

Custom Shortcodes

There a few custom shortcodes for common use cases in addition to the presets provided by Hugo.

Date

{{<date>}}

Writes the current date.

Footnote

{{<footnote>}}This is a footnote{{</footnote>}}

Write a footnote (composable with other shortcodes).

Citations

{{<cite bib="comma,separated,list,of,bib,titles">}}

Make sure to have relevant BibTeX file linked. See index.md for usage.

Math

{{<math>}}c^2 = a^2 + b^2{{</math>}}

To use block display, just add the optional named block attribute with empty string as

{{<math block="true">}}c^2 = a^2 + b^2{{</math>}}

Code

{{<code language="python" block="true">}}
# Python 3: Fibonacci series up to n
def fib(n):
  a, b = 0, 1
    while a &lt; n:
      print(a, end=' ')
      a, b = b, a+b
{{</code>}}

language and block are optional attributes to specify the language and block display options respectively.

Vega Embedded Graphs

You can also embed fully interactive graphs via vega-lite by specifying a unique id and the URL to a JSON Vega Grammar specification.

{{<vega id="viz" spec="https://raw.githubusercontent.com/vega/vega/master/docs/examples/bar-chart.vg.json">}}

You need to add the following parameter to your front matter to make sure the necessary libraries are loaded on the desired page.

vega = true

Build

The example site can be built by running

$ make example

Development

Start a hugo server using the following command and develop!

$ make devel

Acknowledgements

Distill for the amazing Template.

Netlify

License

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].