theme

Categories Post

I’m a post with multiple categories in the frontmatter: categories = ["programming","lorem","pseudo"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus. Pellentesque sed tempus risus. Proin id hendrerit ante. Vestibulum vitae urna ut mauris ultricies dignissim.

Continue reading

Categories Post

I’m a post with multiple categories in the frontmatter: categories = ["programming","lorem","pseudo"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus. Pellentesque sed tempus risus. Proin id hendrerit ante. Vestibulum vitae urna ut mauris ultricies dignissim.

Continue reading

Cheatsheet tmux

Command line tmux new -s {session_name} -n {name} - create new session and specify window name tmux {attach|a|at} -t {session_name} - attach to session tmux ls - list sessions tmux kill-session -t {session_name} - kill session Misc Prefix ? - help Prefix d - detach Prefix t - big clock Command mode Prefix : - command mode new-window -n {name} {command} - create new window and execute command Sessions :new - new session Prefix s - list sessions Prefix $ - name session Prefix ( - previous session Prefix ) - next session Prefix L - last session Windows Prefix c - create new window Prefix , - rename window Prefix n - next window Prefix p - previous window Prefix {n} - go to window n Prefix f - find window by name Prefix w - list windows Prefix & - kill window Panes Prefix % split panes by vertical Prefix " split panes by horizontal Prefix o - cycle through the panes Prefix {arrow key} - navigate to specific pane Prefix space - cycle thought layouts Prefix x - close pane Prefix q - show panes numbers Prefix z - switch to whole window mode and back Prefix { - move the current pane left Prefix } - move the current pane right :setw synchronize-panes - toggle panes synchronization Copy mode (vi mode) Prefix [ - start copy mode Prefix ] - past from copy mode ^ - back to indentation esc - clear selection enter - copy selection j - cursor down h - cursor left l - cursor right k - cursor down L - cursor to bottom line M - cursor to middle line H - cursor to top line d - delete entire line D - delete to end of line $ - end of line : - goto line ⌃-d - half page down ⌃-u - half page up ⌃-f - next page w - next word p - paste buffer ⌃-b - previous page b - previous word q - quit mode ⌃-down, ⌃-j - scroll down ⌃-up, ⌃-k - scroll up n - next search match ?

Continue reading

Linked post

I’m a linked post in the menu. You can add other posts by adding the following line to the frontmatter: menu = "main" Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus.

Continue reading

Linked post

I’m a linked post in the menu. You can add other posts by adding the following line to the frontmatter: menu = "main" Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus.

Continue reading

Creating a new theme

Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme. We’ll start with creating a new site with a very basic template.

Continue reading

Creating a new theme

Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme. We’ll start with creating a new site with a very basic template.

Continue reading