Files
hugo-coder-timeline/exampleSite/content/posts/theme-demo.md
Artem Khvastunov 3d4335a787 Add Twitter Cards to each page (#133)
* Add Twitter Cards to each page

Hugo has an internal template for [Twitter Cards](https://gohugo.io/templates/internal/#twitter-cards). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

* Add 'description' to posts archetype

This optional field is used by Twitter Cards.

* Add example usage of Twitter Cards

* Add artspb to contributors
2019-01-07 13:26:43 -02:00

1.3 KiB

+++ date = "2017-01-08" title = "Theme Demo" description = "The post demonstrates features of the coder theme." images = ["/images/N90.jpg"] math = "true"

+++

Style Demo

h1 Heading

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

This is bold text

This is bold text

This is italic text

This is italic text

Deleted text

This is text with inline math \sum_{n=1}^{\infty} 2^{-n} = 1 and with math blocks:


\sum_{n=1}^{\infty} 2^{-n} = 1
Heading Another heading
text text
text text
text text

Block quotes are written like so.

They can span multiple paragraphs, if you like.

Some text, and some code and then a nice plain link with title.

and then

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
  • Very easy!

vs.

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa

Code

Inline code

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));