Skip to content

Commit

Permalink
deploy: 39a5083
Browse files Browse the repository at this point in the history
  • Loading branch information
1bl4z3r committed Oct 28, 2023
1 parent b6ac65e commit 1d82ac9
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 34 deletions.
4 changes: 2 additions & 2 deletions en/index.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hermit - V2</title><link>https://1bl4z3r.github.io/hermit-V2/en/</link><description>Recent content on Hermit - V2</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 22 Oct 2023 20:06:06 +0530</lastBuildDate><atom:link href="https://1bl4z3r.github.io/hermit-V2/en/index.xml" rel="self" type="application/rss+xml"/><item><title>Explaining Configs</title><link>https://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/</link><pubDate>Sun, 22 Oct 2023 20:06:06 +0530</pubDate><guid>https://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/</guid><description>Configuation in hugo.toml hugo.toml represents Global configuration for Hermit - V2. It is indicative on the changes to make the theme tailored to your personal preferences.
baseURL : The absolute URL (protocol, host, path, and trailing slash) of your published site. Required :- YES
languageCode - A language tag as defined by RFC 5646. This value is used to populate:
baseURL : The absolute URL (protocol, host, path, and trailing slash) of your published site.
languageCode : A language tag as defined by RFC 5646. This value is used to populate:
The element in the internal RSS template The lang attribute of the element in the internal alias template title - Title of the Site</description></item><item><title>Admonition Shortcode</title><link>https://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/</link><pubDate>Fri, 20 Oct 2023 20:06:06 +0530</pubDate><guid>https://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/</guid><description>The admonition shortcode supports 8 types of banners to help you put a notice on your page.
Markdown or HTML format in the content is supported.
This is a note A note banner This is an info A info banner Tip A tip banner Success A success banner Warning A warning banner Failure A failure banner Danger A danger banner Bug A bug banner The admonition shortcode has the following named parameters:</description></item><item><title>About Michael Henderson</title><link>https://1bl4z3r.github.io/hermit-V2/en/michael-henderson/</link><pubDate>Sat, 23 Sep 2023 00:00:00 +0000</pubDate><guid>https://1bl4z3r.github.io/hermit-V2/en/michael-henderson/</guid><description>Hi there, my name is Michael Henderson. I&amp;rsquo;m a passionate photographer and programmer with a love for adventure and the great outdoors. When I&amp;rsquo;m not coding or snapping photos, you can find me cruising around town on my bike, exploring new trails and enjoying the fresh air. I&amp;rsquo;m always looking for opportunities to combine my interests and capture beautiful moments through my camera lens. Nice to meet you!
Expand Down
2 changes: 1 addition & 1 deletion en/posts/admonition-shortcode/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=x-ua-compatible content="ie=edge"><meta name=theme-color content="#494f5c"><meta name=msapplication-TileColor content="#494f5c"><meta itemprop=name content="Admonition Shortcode"><meta itemprop=description content="This explains admonition shortcode implementation"><meta itemprop=datePublished content="2023-10-20T20:06:06+05:30"><meta itemprop=dateModified content="2023-10-20T20:06:06+05:30"><meta itemprop=wordCount content="152"><meta itemprop=keywords content="Demo,Typography,"><meta property="og:title" content="Admonition Shortcode"><meta property="og:description" content="This explains admonition shortcode implementation"><meta property="og:type" content="article"><meta property="og:url" content="https://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/"><meta property="article:section" content="posts"><meta property="article:published_time" content="2023-10-20T20:06:06+05:30"><meta property="article:modified_time" content="2023-10-20T20:06:06+05:30"><meta name=twitter:card content="summary"><meta name=twitter:title content="Admonition Shortcode"><meta name=twitter:description content="This explains admonition shortcode implementation"><link rel=apple-touch-icon sizes=180x180 href=/hermit-V2/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=/hermit-V2/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/hermit-V2/favicon-16x16.png><link rel=manifest href=/hermit-V2/site.webmanifest><link rel=mask-icon href=/hermit-V2/safari-pinned-tab.svg color><link rel="shortcut icon" href=/hermit-V2/favicon.ico><title>Admonition Shortcode</title><link rel=stylesheet href=https://1bl4z3r.github.io/hermit-V2/css/style.min.9d1c206e144bd780d5e8777468840921f0b0ad1ad64ce6212796a412373a2b91.css integrity="sha256-nRwgbhRL14DV6Hd0aIQJIfCwrRrWTOYhJ5akEjc6K5E=" crossorigin=anonymous></head><body id=page><header id=site-header class="animated slideInUp"><div class="hdr-wrapper section-inner"><div class=hdr-left><div class=site-branding><a href=https://1bl4z3r.github.io/hermit-V2/>Hermit - V2</a></div><nav class="site-nav hide-in-mobile"><a href=https://1bl4z3r.github.io/hermit-V2/en/posts/>Posts</a>
<a href=https://1bl4z3r.github.io/hermit-V2/en/about-hugo/>About</a></nav></div><div class="hdr-right hdr-icons"><button id=toc-btn class="hdr-btn desktop-only-ib" title="Table of Contents"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><line x1="3" y1="6" x2="3" y2="6"/><line x1="3" y1="12" x2="3" y2="12"/><line x1="3" y1="18" x2="3" y2="18"/></svg></button><span class="hdr-social hide-in-mobile"><a href=https://twitter.com/ target=_blank rel="noopener me" title=Twitter><svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 3a10.9 10.9.0 01-3.14 1.53 4.48 4.48.0 00-7.86 3v1A10.66 10.66.0 013 4s-4 9 5 13a11.64 11.64.0 01-7 2c9 5 20 0 20-11.5a4.5 4.5.0 00-.08-.83A7.72 7.72.0 0023 3z"/></svg></a><a href=https://twitter.com/ target=_blank rel="noopener me" title=X><svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path class="st0" d="m21.3 21.1L9.9 2.9H2.7l11.4 18.2zm-18.6.0 7.2-6.6m4.2-5 7.2-6.6"/></svg></a><a href=https://github.com/1bl4z3r/hermit-V2/tree/staging target=_blank rel="noopener me" title=Github><svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg></a></span><button id=menu-btn class=hdr-btn title=Menu><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="18" x2="21" y2="18"/></svg></button></div></div></header><div id=mobile-menu class="animated fast"><ul><li><a href=https://1bl4z3r.github.io/hermit-V2/en/posts/>Posts</a></li><li><a href=https://1bl4z3r.github.io/hermit-V2/en/about-hugo/>About</a></li></ul></div><main class="site-main section-inner animated fadeIn faster"><article class=thin><header class=post-header><div class=post-meta><span>Oct 20, 2023</span></div><h1>Admonition Shortcode</h1></header><div class=post-info><p>This explains admonition shortcode implementation</p><p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-feather"><path d="M20.24 12.24a6 6 0 00-8.49-8.49L5 10.5V19h8.5z"/><line x1="16" y1="8" x2="2" y2="22"/><line x1="17.5" y1="15" x2="9" y2="15"/></svg><a href=/hermit-V2/en/about-hugo/ target=_blank>1bl4z3r</a></p><p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag meta-icon"><path d="M20.59 13.41l-7.17 7.17a2 2 0 01-2.83.0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z"/><line x1="7" y1="7" x2="7" y2="7"/></svg><span class=tag><a href=https://1bl4z3r.github.io/hermit-V2/en/tags/demo>Demo</a></span><span class=tag><a href=https://1bl4z3r.github.io/hermit-V2/en/tags/typography>Typography</a></span></p><p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6A2 2 0 004 4v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>152 Words
/||\ Reading Time:
… ⏲ Reading Time:
41 Seconds</p><p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>2023-10-20 14:36 +0000</p></div><hr class=post-end><div class=content><p>The <code>admonition</code> shortcode supports <strong>8</strong> types of banners to help you put a notice on your page.</p><p><em>Markdown or HTML format in the content is supported.</em></p><aside class="admonition note"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828.0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg></div><b>This is a note</b></div><div class=admonition-content>A <strong>note</strong> banner</div></aside><aside class="admonition info"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info"><circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/></svg></div><b>This is an info</b></div><div class=admonition-content>A <strong>info</strong> banner</div></aside><aside class="admonition tip"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></div><b>Tip</b></div><div class=admonition-content>A <strong>tip</strong> banner</div></aside><aside class="admonition success"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 11-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg></div><b>Success</b></div><div class=admonition-content>A <strong>success</strong> banner</div></aside><aside class="admonition warning"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg></div><b>Warning</b></div><div class=admonition-content>A <strong>warning</strong> banner</div></aside><aside class="admonition failure"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"/><line x1="15" y1="9" x2="9" y2="15"/><line x1="9" y1="9" x2="15" y2="15"/></svg></div><b>Failure</b></div><div class=admonition-content>A <strong>failure</strong> banner</div></aside><aside class="admonition danger"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle"><path d="M10.29 3.86 1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42.0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg></div><b>Danger</b></div><div class=admonition-content>A <strong>danger</strong> banner</div></aside><aside class="admonition bug"><div class=admonition-title><div class=icon><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-octagon"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg></div><b>Bug</b></div><div class=admonition-content>A <strong>bug</strong> banner</div></aside><p>The <code>admonition</code> shortcode has the following named parameters:</p><ul><li><p><strong>type</strong> <em>[optional]</em> (<strong>first</strong> positional parameter)</p><p>Type of the <code>admonition</code> banner, the default value is <code>note</code>.</p></li><li><p><strong>title</strong> <em>[optional]</em> (<strong>second</strong> positional parameter)</p><p>Title of the <code>admonition</code> banner, the default value is the value of the <strong>type</strong> parameter.</p></li></ul><p>Example <code>admonition</code> input:</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-markdown data-lang=markdown><span style=display:flex><span>{{&lt; <span style=color:#f92672>admonition</span> <span style=color:#a6e22e>type</span><span style=color:#f92672>=</span><span style=color:#e6db74>tip</span> <span style=color:#a6e22e>title</span><span style=color:#f92672>=</span><span style=color:#e6db74>&#34;This is a tip&#34;</span> &gt;}}
</span></span><span style=display:flex><span>A <span style=font-weight:700>**tip**</span> banner
</span></span><span style=display:flex><span>{{&lt; /<span style=color:#f92672>admonition</span> &gt;}}
Expand Down
Loading

0 comments on commit 1d82ac9

Please sign in to comment.