The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Live Coding Working On My Hugo Website

TODO: Pull subtitle into page object

`youtube: https://www.youtube.com/watch?v=T25kxdY7Qwo`

### Overview

I use a modified version of the Tale](https://themes.gohugo.io/tale-hugo/) theme by [Emiel Hollander](https://www.emielhollander.nl) for my [Hugo website. In this stream, I make some modifications to it to hightlight draft headlines so they are easier to see. I also make some adjustments to the pagination of the site and then figure out how to change the syntax highlighting.

The code I used to highlight the drafts in my posts is:

code_start_default_section code_end_default_section

To use my own highlights, I ran this command inside my

### Useful Links

- Hugo Conditionals - Hugo Syntax Highlighting

https://help.farbox.com/pygments.html - colorful

note that code highligthing should be done with the pygments thing in the config file at the root of the hugo site.

https://gohugo.io/getting-started/configuration-markup/

https://github.com/yuin/goldmark/#built-in-extensions

TODO: Look at this: https://raw.githubusercontent.com/it-gro/hugo-theme-w3css-basic/master/exampleSite/config.toml

TODO: Look at: https://invent.kde.org/websites/kate-editor-org/tree/master/themes/beautifulhugo

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Live Coding Working On My Hugo Website

-- p

`youtube: https://www.youtube.com/watch?v=T25kxdY7Qwo`

-- p

### Overview

-- p

I use a modified version of the <<link|Tale](https://themes.gohugo.io/tale-hugo/) theme by [Emiel Hollander](https://www.emielhollander.nl) for my [Hugo|https://gohugo.io>> website. In this stream, I make some modifications to it to hightlight draft headlines so they are easier to see. I also make some adjustments to the pagination of the site and then figure out how to change the syntax highlighting.

-- p

The code I used to highlight the drafts in my posts is:

-- code/
-- python{numberLines: true}

{{ if eq .Draft true }}DRAFT: {{ end }}

-- /code

-- p

Highlighting is done pretty much straight from the example code with:

-- code/
-- go{numberLines: true}

{{</* highlight python "linenos=table" */>}}
/* code goes here */
{{</* / highlight */>}}

-- /code

-- p

To use my own highlights, I ran this command inside my

-- p

### Useful Links

-- p

- <<link|Hugo Conditionals|https://www.mikedane.com/static-site-generators/hugo/conditionals/>>
- <<link|Hugo Syntax Highlighting|https://gohugo.io/content-management/syntax-highlighting/>>

-- p

https://help.farbox.com/pygments.html - colorful

-- p

note that code highligthing should be done with the pygments thing in the config file at the root of the hugo site.

-- p

https://gohugo.io/getting-started/configuration-markup/

-- p

https://github.com/yuin/goldmark/#built-in-extensions

-- p

TODO: Look at this: https://raw.githubusercontent.com/it-gro/hugo-theme-w3css-basic/master/exampleSite/config.toml

-- p

TODO: Look at: https://invent.kde.org/websites/kate-editor-org/tree/master/themes/beautifulhugo


-- categories
-- Live Coding

-- metadata
-- date: 2020-09-26 00:00:00
-- id: 20enfv9u
-- status: draft
-- type: post
-- SCRUBBED_NEO: false
-- site: aws