man-cheatsheet/blog.1

73 lines
1.4 KiB
Groff

.\" Automatically generated by Pandoc 3.1.5
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "Blog" "1" "" "Version 1.0" "Tips for the blog command and using Zola"
.hy
.SH NAME
.PP
\f[B]blog\f[R] - helper command for zola.
.SH DESCRIPTION
.PP
Here are some tips for Hugh\[cq]s custom Zola set up.
.SH EXAMPLES
.TP
\f[B]aside\f[R]
appears on the righthand side in desktop or underneath in mobile view
.IP
.nf
\f[C]
{% aside() %}
Hello there!
This is [a link](https://hugh.run)
{% end %}
\f[R]
.fi
.TP
\f[B]quote\f[R]
block quote - fills the entire screen
.IP
.nf
\f[C]
{% quote(author=\[dq]Hugh Rundle\[dq], title=\[dq]Shit Hugh said\[dq], url=\[dq]https://hugh.run\[dq]) %}
Zola is a pretty cool rendering engine, I must admit.
{% end %}
\f[R]
.fi
.TP
\f[B]link\f[R]
For the \f[I]/links\f[R] section - this combines a comment with a quote
.IP
.nf
\f[C]
{{ link(
url=\[dq]https://aeon.co/essays/we-should-take-awkwardness-less-personally-and-more-seriously\[dq],
title=\[dq]Here is the title of the article\[dq],
quote=\[dq]Awkwardness highlights the fact that our interactions are scripted.\[dq]
)
}}
\f[R]
.fi
.SH SEE ALSO
.PP
cheatsheet(7)
.SH AUTHORS
Hugh Rundle.