Hugo-Octopress Demo

Hugo-Octopress demo site - subtitle.

Sep 2, 2019 - 1 minute read - test category5

Year Abbr Mark Test

year shortcode:

This should display the current year: 2019


abbr shortcode:

This should create an abbr tag with title of World Health Organization and text of WHO.

WHO

This should highlight the work this part is highlighted in the following text:

This is some text, this part is highlighted and this part is not.

Dec 18, 2017 - 3 minute read - test category2

blockquote test

Block quote test

Move tests over this to make them appear on the first page

Normal quote:

This is a simple quote.

Quote with author

This is a quote with only an Author named Author2.

Author2

Quote with author and source

This is a quote from Author3 and source “source.”

Author3 Source

Dec 8, 2017 - 1 minute read - test category3

Codecaption test

Python code highlight
1
2
3
4
5
from base64 import b64encode
from binascii import unhexlify

print b64encode(unhexlify("0a0b0c0d"))
CgsMDQ==
Go highlight
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// zlib inflate (decompress).

package main

import (
	"compress/zlib"
	"io"
	"os"
)

func main() {
	zlibFile, err := os.Open("test.zlib")
	if err != nil {
		panic(err)
	}
	defer zlibFile.Close()

	r, err := zlib.NewReader(zlibFile)
	if err != nil {
		panic(err)
	}
	defer r.Close()

	outFile, err := os.Create("out-zlib")
	if err != nil {
		panic(err)
	}
	defer outFile.Close()

	io.Copy(outFile, r)
}

Python code highlight using the Hugo internal highligh shortcode:

from base64 import b64encode
from binascii import unhexlify

print b64encode(unhexlify("0a0b0c0d"))
CgsMDQ==