+ {{ .Title | markdownify }} +
+ + + + {{ if .Params.tags }} + + {{ end }} + + {{ partial "cover.html" . }} + +{{ .Description | markdownify }}
+ {{ else }} + {{ .Summary }} + {{ end }} +Test
+ + +``` + +### Code block indented with four spaces + + + + + +Test
+ + + +### Code block with Hugo's internal highlight shortcode + +{{< highlight html >}} + + + + +Test
+ + +{{< /highlight >}} + +### Code block with custom built-in `{{ < code > }}` shortcode + +{{< code title="Hey, this is a code block title" language="css" >}} +pre { + background: #1a1a1d; + padding: 20px; + border-radius: 8px; + font-size: 1rem; + overflow: auto; + + @media (--phone) { + white-space: pre-wrap; + word-wrap: break-word; + } + + code { + background: none !important; + color: #ccc; + padding: 0; + font-size: inherit; + } +} +{{< /code >}} + +## List Types + +### Ordered List + +1. First item +2. Second item +3. Third item + +### Unordered List + +* List item +* Another item +* And another item + +### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/blog/themes/terminal/exampleSite/static/img/hello.jpg b/blog/themes/terminal/exampleSite/static/img/hello.jpg new file mode 100644 index 0000000..37b2ab5 Binary files /dev/null and b/blog/themes/terminal/exampleSite/static/img/hello.jpg differ diff --git a/blog/themes/terminal/go.mod b/blog/themes/terminal/go.mod new file mode 100644 index 0000000..9c958ae --- /dev/null +++ b/blog/themes/terminal/go.mod @@ -0,0 +1,3 @@ +module github.com/panr/hugo-theme-terminal/v4 + +go 1.19 diff --git a/blog/themes/terminal/images/screenshot.png b/blog/themes/terminal/images/screenshot.png new file mode 100644 index 0000000..4229b13 Binary files /dev/null and b/blog/themes/terminal/images/screenshot.png differ diff --git a/blog/themes/terminal/images/terminal-css.png b/blog/themes/terminal/images/terminal-css.png new file mode 100644 index 0000000..78f7d1d Binary files /dev/null and b/blog/themes/terminal/images/terminal-css.png differ diff --git a/blog/themes/terminal/images/terminal-theme-old.png b/blog/themes/terminal/images/terminal-theme-old.png new file mode 100644 index 0000000..c5ae803 Binary files /dev/null and b/blog/themes/terminal/images/terminal-theme-old.png differ diff --git a/blog/themes/terminal/images/terminal-theme.png b/blog/themes/terminal/images/terminal-theme.png new file mode 100644 index 0000000..8bd688d Binary files /dev/null and b/blog/themes/terminal/images/terminal-theme.png differ diff --git a/blog/themes/terminal/images/tn.png b/blog/themes/terminal/images/tn.png new file mode 100644 index 0000000..1658e05 Binary files /dev/null and b/blog/themes/terminal/images/tn.png differ diff --git a/blog/themes/terminal/layouts/404.html b/blog/themes/terminal/layouts/404.html new file mode 100644 index 0000000..e680954 --- /dev/null +++ b/blog/themes/terminal/layouts/404.html @@ -0,0 +1,10 @@ +{{ define "main" }} +{{ .Description | markdownify }}
+ {{ else }} + {{ .Summary }} + {{ end }} +{{ .Description | markdownify }}
+ {{ else }} + {{ .Summary }} + {{ end }} +{{ .Description | markdownify }}
+ {{ else }} + {{ .Summary }} + {{ end }} +