Skip to content

Commit 25ceb92

Browse files
committed
Updated hugo to latest version and author
1 parent 150b459 commit 25ceb92

File tree

18 files changed

+47
-42
lines changed

18 files changed

+47
-42
lines changed

config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ ignoreLogs = ['warning-goldmark-raw-html']
5252
5353
link = "https://shiva.dev"
5454

55+
[params]
56+
5557
[markup]
5658
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
5759
[markup.highlight]

public/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h1 id="error-emoji"></h1>
9595
</script></div>
9696
</main><footer class="footer">
9797
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.146.2">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
98-
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span></div>
98+
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
9999
</div>
100100
</footer></div>
101101

public/categories/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3 class="card-item-title">
113113
</div></div></div></div>
114114
</main><footer class="footer">
115115
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.146.2">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
116-
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span></div>
116+
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
117117
</div>
118118
</footer></div>
119119

public/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</div></div>
107107
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
108108
<a href="/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/">Bind Ctrl &#43; HJKL to arrow keys on a Mac Machine</a>
109-
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
109+
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
110110
</span>&nbsp;<span class="post-publish">published on <time datetime="2024-07-31">2024-07-31</time></span>&nbsp;<span class="post-category">included in <a href="/categories/development/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Development</a></span></div><div class="content"><h3 id="what-this-post-covers">What this post covers?</h3>
111111
<p>So instead of reaching to arrow keys, you can just use h (as left arrow), j (as down arrow) k (as up arrow) and l (as right arrow) by hoding ctrl key.</p>
112112
<h3 id="before-we-start">Before we start</h3>
@@ -117,7 +117,7 @@ <h2 id="keyboard-settings-on-mac">Keyboard Settings on Mac</h2>
117117
<i class="fas fa-tags fa-fw" aria-hidden="true"></i>&nbsp;<a href="/tags/vim/">Vim</a>,&nbsp;<a href="/tags/neovim/">Neovim</a>,&nbsp;<a href="/tags/lua/">Lua</a>,&nbsp;<a href="/tags/linux/">Linux</a></div></div>
118118
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
119119
<a href="/posts/adding_password_protection_to_a_hugo_post/">Adding Password Protection To A Hugo Post</a>
120-
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
120+
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
121121
</span>&nbsp;<span class="post-publish">published on <time datetime="2024-07-07">2024-07-07</time></span>&nbsp;<span class="post-category">included in <a href="/categories/development/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Development</a></span></div><div class="content"><p>In this post, I&rsquo;ll show you the simplest way to protect a Hugo page with a password by using front matter and adding a new parameter called &ldquo;password.&rdquo; This allows you to set a unique password for each post.</p>
122122
<div class="details admonition warning open">
123123
<div class="details-summary admonition-title">
@@ -146,7 +146,7 @@ <h2 id="keyboard-settings-on-mac">Keyboard Settings on Mac</h2>
146146
<i class="fas fa-tags fa-fw" aria-hidden="true"></i>&nbsp;<a href="/tags/hugo/">Hugo</a></div></div>
147147
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
148148
<a href="/posts/lunr_search_for_hugo/">Add Lunr Search to Hugo site</a>
149-
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
149+
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
150150
</span>&nbsp;<span class="post-publish">published on <time datetime="2024-06-11">2024-06-11</time></span>&nbsp;<span class="post-category">included in <a href="/categories/development/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Development</a></span></div><div class="content"><h3 id="whats-covered-in-this-post">What&rsquo;s covered in this post?</h3>
151151
<p>Hugo ships with out search, yet I love it. However, I&rsquo;ve managed to integrate lunr search that is supported by the theme <a href="https://hugoloveit.com/" target="_blank" rel="noopener noreffer">Loveit</a>
152152
I&rsquo;m using on this website. With that being said, this post will cover how I integrate <code>lurn</code> on <a href="https://shiva.dev/" target="_blank" rel="noopener noreffer">my website</a>
@@ -157,7 +157,7 @@ <h3 id="install-or-update">Install or update!</h3>
157157
<i class="fas fa-tags fa-fw" aria-hidden="true"></i>&nbsp;<a href="/tags/search/">Search</a>,&nbsp;<a href="/tags/lunr/">Lunr</a>,&nbsp;<a href="/tags/hugo/">Hugo</a></div></div>
158158
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
159159
<a href="/posts/java_string_template/">String Template in Java 21</a>
160-
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
160+
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
161161
</span>&nbsp;<span class="post-publish">published on <time datetime="2024-05-22">2024-05-22</time></span>&nbsp;<span class="post-category">included in <a href="/categories/programming/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Programming</a></span></div><div class="content"><h3 id="what-is-string-template">What is String Template?</h3>
162162
<p>String Template is a process of substituting values of variables into placeholders in a string. In the past, we relied on string concatenation to format output for print statements. </p>
163163
<p><code>System.out.println(arr[i] + &quot; &quot; + &quot;From for loop&quot;);</code></p>
@@ -166,7 +166,7 @@ <h3 id="install-or-update">Install or update!</h3>
166166
<i class="fas fa-tags fa-fw" aria-hidden="true"></i>&nbsp;<a href="/tags/java/">Java</a>,&nbsp;<a href="/tags/jep/">JEP</a>,&nbsp;<a href="/tags/string/">String</a>,&nbsp;<a href="/tags/java21/">Java21</a></div></div>
167167
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
168168
<a href="/posts/calcuate_anual_rate_of_return_using_python/">Calculate Anual Rate Of Return In Python</a>
169-
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
169+
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
170170
</span>&nbsp;<span class="post-publish">published on <time datetime="2023-03-04">2023-03-04</time></span>&nbsp;<span class="post-category">included in <a href="/categories/programming/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Programming</a></span></div><div class="content"><p>Hey there! We&rsquo;re going to work on a challenge together where we&rsquo;ll be writing a program called invest.py. The goal of this program is to track the growing amount of an investment over time.</p>
171171
<p>We&rsquo;ll start with an initial deposit, also known as the principal amount. Each year, this amount will increase by a fixed percentage called the annual rate of return.</p>
172172
<p>For instance, if we start with a principal amount of $100 and an annual rate of return of 5%, the first year&rsquo;s increase will be $5. The second year, the increase will be 5% of the new amount, which is $105, resulting in an increase of $5.25.</p></div><div class="post-footer">
@@ -175,7 +175,7 @@ <h3 id="install-or-update">Install or update!</h3>
175175
</article></div></div>
176176
</main><footer class="footer">
177177
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.146.2">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
178-
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span></div>
178+
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
179179
</div>
180180
</footer></div>
181181

public/index.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<title>Bind Ctrl &#43; HJKL to arrow keys on a Mac Machine</title>
1010
<link>http://localhost:1313/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</link>
1111
<pubDate>Wed, 31 Jul 2024 13:55:20 -0500</pubDate>
12-
<author>Author</author>
12+
<author>Shiva</author>
1313
<guid>http://localhost:1313/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</guid>
1414
<description><![CDATA[<h3 id="what-this-post-covers">What this post covers?</h3>
1515
<p>So instead of reaching to arrow keys, you can just use h (as left arrow), j (as down arrow) k (as up arrow) and l (as right arrow) by hoding ctrl key.</p>
@@ -22,7 +22,7 @@
2222
<title>Adding Password Protection To A Hugo Post</title>
2323
<link>http://localhost:1313/posts/adding_password_protection_to_a_hugo_post/</link>
2424
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
25-
<author>Author</author>
25+
<author>Shiva</author>
2626
<guid>http://localhost:1313/posts/adding_password_protection_to_a_hugo_post/</guid>
2727
<description><![CDATA[<p>In this post, I&rsquo;ll show you the simplest way to protect a Hugo page with a password by using front matter and adding a new parameter called &ldquo;password.&rdquo; This allows you to set a unique password for each post.</p>
2828
<div class="details admonition warning open">
@@ -53,7 +53,7 @@
5353
<title>Top Secret</title>
5454
<link>http://localhost:1313/posts/password/</link>
5555
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
56-
<author>Author</author>
56+
<author>Shiva</author>
5757
<guid>http://localhost:1313/posts/password/</guid>
5858
<description><![CDATA[<div class="details admonition danger open">
5959
<div class="details-summary admonition-title">
@@ -69,7 +69,7 @@
6969
<title>Top Secret</title>
7070
<link>http://localhost:1313/posts/top_secret/</link>
7171
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
72-
<author>Author</author>
72+
<author>Shiva</author>
7373
<guid>http://localhost:1313/posts/top_secret/</guid>
7474
<description><![CDATA[<div class="details admonition danger open">
7575
<div class="details-summary admonition-title">
@@ -85,7 +85,7 @@
8585
<title>Add Lunr Search to Hugo site</title>
8686
<link>http://localhost:1313/posts/lunr_search_for_hugo/</link>
8787
<pubDate>Tue, 11 Jun 2024 20:02:20 -0500</pubDate>
88-
<author>Author</author>
88+
<author>Shiva</author>
8989
<guid>http://localhost:1313/posts/lunr_search_for_hugo/</guid>
9090
<description><![CDATA[<h3 id="whats-covered-in-this-post">What&rsquo;s covered in this post?</h3>
9191
<p>Hugo ships with out search, yet I love it. However, I&rsquo;ve managed to integrate lunr search that is supported by the theme <a href="https://hugoloveit.com/" target="_blank" rel="noopener noreffer">Loveit</a>
@@ -98,7 +98,7 @@
9898
<title>String Template in Java 21</title>
9999
<link>http://localhost:1313/posts/java_string_template/</link>
100100
<pubDate>Wed, 22 May 2024 13:55:20 -0500</pubDate>
101-
<author>Author</author>
101+
<author>Shiva</author>
102102
<guid>http://localhost:1313/posts/java_string_template/</guid>
103103
<description><![CDATA[<h3 id="what-is-string-template">What is String Template?</h3>
104104
<p>String Template is a process of substituting values of variables into placeholders in a string. In the past, we relied on string concatenation to format output for print statements. </p>
@@ -109,7 +109,7 @@
109109
<title>Calculate Anual Rate Of Return In Python</title>
110110
<link>http://localhost:1313/posts/calcuate_anual_rate_of_return_using_python/</link>
111111
<pubDate>Sat, 04 Mar 2023 13:55:20 -0500</pubDate>
112-
<author>Author</author>
112+
<author>Shiva</author>
113113
<guid>http://localhost:1313/posts/calcuate_anual_rate_of_return_using_python/</guid>
114114
<description><![CDATA[<p>Hey there! We&rsquo;re going to work on a challenge together where we&rsquo;ll be writing a program called invest.py. The goal of this program is to track the growing amount of an investment over time.</p>
115115
<p>We&rsquo;ll start with an initial deposit, also known as the principal amount. Each year, this amount will increase by a fixed percentage called the annual rate of return.</p>

public/posts/calcuate_anual_rate_of_return_using_python/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@type": "Organization",
4040
"name": ""},"author": {
4141
"@type": "Person",
42-
"name": "Author"
42+
"name": "Shiva"
4343
},"description": "Calculate simple anual rate of return using python programming language"
4444
}
4545
</script></head>
@@ -109,7 +109,7 @@ <h2 class="toc-title">Contents</h2>
109109
<div class="toc-content" id="toc-content-auto"></div>
110110
</div><article class="page single">
111111
<div id="content-container"><h1 class="single-title animate__animated animate__flipInX">Calculate Anual Rate Of Return In Python</h1><div class="post-meta">
112-
<div class="post-meta-line"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Author</a>
112+
<div class="post-meta-line"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>Shiva</a>
113113
</span>&nbsp;<span class="post-category">included in <a href="/categories/programming/"><i class="far fa-folder fa-fw" aria-hidden="true"></i>Programming</a></span></div>
114114
<div class="post-meta-line"><i class="far fa-calendar-alt fa-fw" aria-hidden="true"></i>&nbsp;<time datetime="2023-03-04">2023-03-04</time>&nbsp;<i class="fas fa-pencil-alt fa-fw" aria-hidden="true"></i>&nbsp;320 words&nbsp;
115115
<i class="far fa-clock fa-fw" aria-hidden="true"></i>&nbsp;2 minutes&nbsp;</div>
@@ -241,7 +241,7 @@ <h3 id="doing-with-for-loop">Doing with &lsquo;for&rsquo; loop</h3>
241241
</script></div>
242242
</main><footer class="footer">
243243
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.146.2">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
244-
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span></div>
244+
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
245245
</div>
246246
</footer></div>
247247

public/posts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</article></div></div>
107107
</main><footer class="footer">
108108
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.146.2">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
109-
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span></div>
109+
</div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2019 - 2025</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
110110
</div>
111111
</footer></div>
112112

0 commit comments

Comments
 (0)