From 0a16acb51366c4c17277ac8d88b94a1a3bc54c19 Mon Sep 17 00:00:00 2001 From: kylejcarlton Date: Fri, 26 Nov 2021 10:07:56 -0600 Subject: [PATCH] add first post and customize config.toml --- config.toml | 8 +-- content/universal-remote-control.md | 98 +++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 4 deletions(-) create mode 100644 content/universal-remote-control.md diff --git a/config.toml b/config.toml index 31d61b1..23089c1 100644 --- a/config.toml +++ b/config.toml @@ -24,7 +24,7 @@ accent_color = "green" # Enabling dark background will also modify primary font color # to be darker. # 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" logo_text = "Tech it Yourself" @@ -35,7 +35,7 @@ logo_text = "Tech it Yourself" # Author name: when specified, modifies the default # copyright text. Apart from author, it will # contain current year and a link to the theme. -#author = "My Name" +author = "Kyle J Carlton" # Copyright text in HTML format. If specified, # entirely replaces default copyright and author. @@ -54,7 +54,7 @@ menu_items = [ {name = "about me", url = "$BASE_URL/about"}, # 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 @@ -64,7 +64,7 @@ enable_post_view_navigation = true # The text shown at the bottom of a post, # before earlier/later post links. # 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. # Switch this to true if you need full unicode support. diff --git a/content/universal-remote-control.md b/content/universal-remote-control.md new file mode 100644 index 0000000..d3b2d9a --- /dev/null +++ b/content/universal-remote-control.md @@ -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. + + + +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") }}