Hugo Winston theme

One of my opensource projects, a minimal blog theme for Hugo.

I built this theme which is a unique and modern website design created for authors and writers. As the author of this theme, I aimed to provide a clean and minimalistic look that highlights the content, making it the center of attention.

Project structure

β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ js
β”‚   β”‚   └── scripts.js
β”‚   └── scss
β”‚       β”œβ”€β”€ _author.scss
β”‚       β”œβ”€β”€ _breakpoints.scss
β”‚       β”œβ”€β”€ _content.scss
β”‚       β”œβ”€β”€ _footer.scss
β”‚       β”œβ”€β”€ _header.scss
β”‚       β”œβ”€β”€ _intro.scss
β”‚       β”œβ”€β”€ _main-menu-mobile.scss
β”‚       β”œβ”€β”€ _main-menu.scss
β”‚       β”œβ”€β”€ _normalize.scss
β”‚       β”œβ”€β”€ _pagination.scss
β”‚       β”œβ”€β”€ _summary.scss
β”‚       └── style.scss
β”œβ”€β”€ layouts
β”‚   β”œβ”€β”€ _default
β”‚   β”‚   β”œβ”€β”€ baseof.html
β”‚   β”‚   β”œβ”€β”€ list.html
β”‚   β”‚   β”œβ”€β”€ single.html
β”‚   β”‚   └── summary.html
β”‚   β”œβ”€β”€ partials
β”‚   β”‚   β”œβ”€β”€ author-large.html
β”‚   β”‚   β”œβ”€β”€ author.html
β”‚   β”‚   β”œβ”€β”€ footer.html
β”‚   β”‚   β”œβ”€β”€ google-analytics.html
β”‚   β”‚   β”œβ”€β”€ header.html
β”‚   β”‚   β”œβ”€β”€ menu-main-mobile.html
β”‚   β”‚   β”œβ”€β”€ paginator.html
β”‚   β”œβ”€β”€ posts
β”‚   β”‚   β”œβ”€β”€ list.html
β”‚   β”‚   └── single.html
β”‚   β”œβ”€β”€ tags
β”‚   β”‚   └── list.html
β”‚   └── index.html
└── theme.toml


$(window).scroll(function () {
  var scroll = $(window).scrollTop();
  if (scroll > 100) {
  } else {

Markdown Flavours

There are several different versions of markdown


From 2012, a group of people including Jeff Atwood and John MacFarlane launched what Atwood characterized as a standardization effort. A community website now aims to β€œdocument various tools and resources available to document authors and developers, as well as implementors of the various markdown implementations”.

GitHub Flavored Markdown (GFM)

In 2017, GitHub released a formal specification of their GitHub Flavored Markdown (GFM) that is based on CommonMark. It follows the CommonMark specification exactly except for tables, strikethrough, autolinks and task lists, which the GitHub spec has added as extensions. GitHub also changed the parser used on their sites accordingly, which required that some documents be changed. For instance, GFM now requires that the hash symbol that creates a heading be separated from the heading text by a space character.he user to create their own.

Photo of laptop

Markdown Extra

Markdown Extra is a lightweight markup language based on Markdown implemented in PHP (originally), Python and Ruby. It adds features not available with plain Markdown syntax. Markdown Extra is supported in some content management systems such as, for example, Drupal.

Markdown Extra adds the following features to Markdown:

  • markdown markup inside HTML blocks
  • elements with id/class attribute
  • β€œfenced code blocks” that span multiple lines of code
  • tables
  • definition lists
  • footnotes
  • abbreviations