Sample post

| 2 Minute Read

Questo è un post d’esempio.

  • Elemento
  • Di
  • Una lista
  1. Numerata
  2. Se
  3. Proprio
  4. Vogliamo

Code

import sys

def hello():
    sys.stdout.write("Complicated hello world\n")

if __name__ == "__main__":
    hello()

Images

  • Upload to assets/img/post-slug, i.e. assets/img/1970-01-01-sample_post
![{{ site.baseurl }}{% link 'assets/img/1970-01-01-sample_post/image.jpg' %}]
[label]({{ site.baseurl }}{% link 'path-to-file.md' %})

Link to post

If the post is under a subdirectory, it needs to be included.

[label]({{ site.baseurl }}{% post_url wp-export/2019-03-10-corsi-linux-2019 %})

Result: label

WordPress Alert Boxes

A number of old WordPress alert boxes have been ported. They have a slightly more complicated syntax.

To put links in them, please use plain HTML (as opposed to Markdown — you can use Jekyll tags).

Note that only the first two have been styled out of laziness. More can be added if needed.

Important

{% include alerts/important.html content="Important" %}

Notice

{% include alerts/notice.html content="Notice" %}

Red

{% include alerts/red.html content="Red" %}

Warning

{% include alerts/warning.html content="Warning" %}