add first post and customize config.toml

This commit is contained in:
kylejcarlton 2021-11-26 10:07:56 -06:00
parent bc952bd623
commit 0a16acb513
2 changed files with 102 additions and 4 deletions

View file

@ -24,7 +24,7 @@ accent_color = "green"
# Enabling dark background will also modify primary font color # Enabling dark background will also modify primary font color
# to be darker. # to be darker.
# Defaults to accent color (or, if not accent color specified, to blue). # Defaults to accent color (or, if not accent color specified, to blue).
background_color = "blue" background_color = "dark"
# The logo text - defaults to "Terminimal theme" # The logo text - defaults to "Terminimal theme"
logo_text = "Tech it Yourself" logo_text = "Tech it Yourself"
@ -35,7 +35,7 @@ logo_text = "Tech it Yourself"
# Author name: when specified, modifies the default # Author name: when specified, modifies the default
# copyright text. Apart from author, it will # copyright text. Apart from author, it will
# contain current year and a link to the theme. # contain current year and a link to the theme.
#author = "My Name" author = "Kyle J Carlton"
# Copyright text in HTML format. If specified, # Copyright text in HTML format. If specified,
# entirely replaces default copyright and author. # entirely replaces default copyright and author.
@ -54,7 +54,7 @@ menu_items = [
{name = "about me", url = "$BASE_URL/about"}, {name = "about me", url = "$BASE_URL/about"},
# set newtab to true to make the link open in new tab # set newtab to true to make the link open in new tab
{name = "github", url = "https://github.com/pawroman/zola-theme-terminimal", newtab = true}, {name = "github", url = "https://github.com/kylejcarlton", newtab = true},
] ]
# Whether to show links to earlier and later posts # Whether to show links to earlier and later posts
@ -64,7 +64,7 @@ enable_post_view_navigation = true
# The text shown at the bottom of a post, # The text shown at the bottom of a post,
# before earlier/later post links. # before earlier/later post links.
# Defaults to "Thanks for reading! Read other posts?" # Defaults to "Thanks for reading! Read other posts?"
post_view_navigation_prompt = "Thanks for reading! Read other posts?" post_view_navigation_prompt = "Thanks for reading! Check out more?"
# Use full Hack character set, not just a subset. # Use full Hack character set, not just a subset.
# Switch this to true if you need full unicode support. # Switch this to true if you need full unicode support.

View file

@ -0,0 +1,98 @@
+++
title = "Universal Remote - Part I"
date = 2014-11-11
[taxonomies]
tags = ["universalremote"]
+++
Welcome to Terminimal! This is a theme showcase post.
Code block (using "boron" theme):
```python
#!/usr/bin/python3
class HelloPrinter:
def __init__(self, thing):
self.thing = thing
def __call__(self):
print(f"Hello, {self.thing}!")
printer = HelloPrinter("World")
printer()
# prints: Hello, World!
```
Inline code: `print("Hello world!")`.
Basic typography:
*Italic text*. **Bold text**. _**Italic bold**_. Link: [click me](#)
# Header 1
## Header 2
### Header 3
#### Header 4
Quote:
> "Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined: nothing works and no one knows why."
Lists:
- A
- B
- CDEF
1. One
2. Two
3. Three
Horizontal line:
---
This is where the post summary ends.
<!-- more -->
The second part follows here.
## Shortcodes
`figure` shortcode:
```
figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
style="width: 25%;",
position="center"
caption_position="left",
caption="Ferris, the (unofficial) Rust mascot"
caption_style="font-weight: bold; font-style: italic;")
```
{{ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
style="width: 25%;",
position="center",
caption_position="left",
caption="Ferris, the (unofficial) Rust mascot",
caption_style="font-weight: bold; font-style: italic;") }}
---
`image` shortcode:
```
image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg",
position="left")
```
{{ image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg",
position="left") }}