Shortcodes

About Shortcode

Written by oxypteros

Example:

 John Smith
John Smith

The researcher and writer behind this blog. Driven by a deep fascination with the complexities of criminal cases and the quest for truth.

Join me in the quest to meticulously piecing together stories, analyzing evidence, and exploring the unanswered questions that linger long after the headlines fade.

The truth is here! (not out there)

Code

{{< about AUTHOR="John Smith" AVATAR="oxy.png" >}}

 The researcher and writer behind this blog. Driven by a deep fascination with the complexities of criminal cases and the quest for **truth**. 
 
 Join me in the quest to meticulously piecing together stories, analyzing evidence, and exploring the unanswered questions that linger long after the headlines fade.
 
***The truth is here!*** *(not out there)*

{{< /about >}}

Overview

A minimal About the Author element with avatar, name, and bio text.

Usage

  • Place the avatar image inside assets/img/ and set its filename (filename.jpg) as the value for the AVATAR parameter. The image will be resized and converted to WebP.
  • If the AUTHOR parameter is omitted, the author value of the page will be used.
  • This shortcode requires both an opening and a closing tag

Parameters Reference

AUTHOR
AUTHOR="Username" — (string, optional)
The author name. Fallback to page frontmatter author.
AVATAR
AVATAR="image.jpg" — (string, optional)
Filename (including extension) of the avatar image, placed at assets/img/.
Inner Content
The main biography text. Markdown formatting supported.

Error Codes

liva-sc-200
Unrecognized parameter detected.
liva-sc-209
Image not found. Check filename in assets/img/ path.
Edit this page on Github