Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
shivas.blog
shiva.dev
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Project Change Log

## April 27, 2025

- **Homepage Post List Styling:**
- Implemented a hover effect to change the background color of post items (`.single.summary`).
- Adjusted padding (`padding`, `padding-top`) for post items to refine spacing.
- Made the entire post summary area clickable via an overlay link (`.summary-link-overlay`), while keeping Author and Category links clickable (`z-index` adjustments).
- *File affected:* `themes/LoveIt/assets/css/_core/_base.scss`

- **Homepage Post List Content:**
- Removed the "Read More" link from the footer of each post summary.
- Removed the tags section from the footer of each post summary.
- Attempted to display the `description` from post front matter instead of the automatic summary (currently reverted).
- Added overlay link HTML structure.
- *File affected:* `themes/LoveIt/layouts/_default/summary.html`

- **Homepage Profile Social Icons:**
- Added horizontal spacing (`margin`).
- Added a scaling hover effect (`transform: scale(1.5)`).
- *File affected:* `themes/LoveIt/assets/css/_core/_base.scss`

- **Header Menu Icons (e.g., GitHub):**
- Added a default subtle glow effect (`filter: drop-shadow`).
- Added a scaling hover effect (`transform: scale(1.2)`).
- *File affected:* `themes/LoveIt/assets/css/_core/_base.scss`

- **Header Bar:**
- Briefly added and then removed a `box-shadow` effect.
- *File affected:* `themes/LoveIt/assets/css/_partial/_header.scss`
18 changes: 1 addition & 17 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,7 @@ ignoreLogs = ['warning-goldmark-raw-html']
link = "https://shiva.dev"

[params]

[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
codeFences = true
guessSyntax = true
lineNos = true
lineNumbersInTable = true
# false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
# false 是必要的设置 (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false


# Enable JSON output
[outputs]
home = ["HTML", "RSS", "JSON"]
page = ["HTML"]
[params.home]



Expand Down
10 changes: 5 additions & 5 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noodp" />
<title>404 Page not found - shiva.dev</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js"></script><meta name="Description" content="A tech blog by Shiva Inampudi"><meta property="og:url" content="http://localhost:1313/404.html">
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js"></script><meta name="Description" content="A tech blog by Shiva Inampudi"><meta property="og:url" content="https://shiva.dev/404.html">
<meta property="og:site_name" content="shiva.dev">
<meta property="og:title" content="404 Page not found">
<meta property="og:description" content="A tech blog by Shiva Inampudi">
Expand All @@ -19,7 +19,7 @@
<meta name="apple-mobile-web-app-title" content="A tech blog by Shiva Inampudi"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"><link rel="stylesheet" href="/lib/normalize/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="/lib/fontawesome-free/all.min.css"><link rel="stylesheet" href="/lib/animate/animate.min.css"></head>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap" rel="stylesheet"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css"></head>
<body data-header-desktop="fixed" data-header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('auto' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'auto' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>

<div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
Expand Down Expand Up @@ -95,7 +95,7 @@ <h1 id="error-emoji"></h1>
</script></div>
</main><footer class="footer">
<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>
</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>
</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 - 2026</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">Shiva</a></span></div>
</div>
</footer></div>

Expand All @@ -104,7 +104,7 @@ <h1 id="error-emoji"></h1>
</a><a href="#" id="view-comments" class="fixed-button" title="View Comments">
<i class="fas fa-comment fa-fw" aria-hidden="true"></i>
</a>
</div><script type="text/javascript" src="/lib/autocomplete/autocomplete.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.min.js"></script><script type="text/javascript" src="/lib/lazysizes/lazysizes.min.js"></script><script type="text/javascript" src="/lib/clipboard/clipboard.min.js"></script><script type="text/javascript" src="/lib/sharer/sharer.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":50},"search":{"highlightTag":"em","lunrIndexURL":"/index.json","maxResultLength":10,"noResultsFound":"No results found","snippetLength":30,"type":"lunr"}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</div><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/autocomplete.js@0.38.1/dist/autocomplete.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lunr@2.3.9/lunr.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.1/lazysizes.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/sharer.js@0.5.1/sharer.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":50},"search":{"highlightTag":"em","maxResultLength":10,"noResultsFound":"No results found","snippetLength":30}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>


<script>
Expand Down
24 changes: 12 additions & 12 deletions public/categories/development/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Development on shiva.dev</title>
<link>http://localhost:1313/categories/development/</link>
<link>https://shiva.dev/categories/development/</link>
<description>Recent content in Development on shiva.dev</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Thu, 01 Aug 2024 21:45:43 -0400</lastBuildDate>
<atom:link href="http://localhost:1313/categories/development/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="https://shiva.dev/categories/development/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Bind Ctrl &#43; HJKL to arrow keys on a Mac Machine</title>
<link>http://localhost:1313/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</link>
<link>https://shiva.dev/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</link>
<pubDate>Wed, 31 Jul 2024 13:55:20 -0500</pubDate>
<guid>http://localhost:1313/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</guid>
<guid>https://shiva.dev/posts/bind_ctrl_&#43;&#43;hjkl_to_arrow_keys_on_a_mac/</guid>
<description>&lt;h3 id=&#34;what-this-post-covers&#34;&gt;What this post covers?&lt;/h3&gt;&#xA;&lt;p&gt;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.&lt;/p&gt;&#xA;&lt;h3 id=&#34;before-we-start&#34;&gt;Before we start&lt;/h3&gt;&#xA;&lt;p&gt;First things first, we need to install a free tool called Hammerspoon. This tool will allow us to configure the key bindings.&lt;/p&gt;&#xA;&lt;h2 id=&#34;keyboard-settings-on-mac&#34;&gt;Keyboard Settings on Mac&lt;/h2&gt;&#xA;&lt;p&gt;Navigate to System Settings &amp;gt; Keyboard &amp;gt; Keyboard Shortcut &amp;gt; Modifier Keys (left pane). Select your keyboard, and for the Caps Lock key, choose Control from the drop-down menu.&lt;/p&gt;</description>
</item>
<item>
<title>Adding Password Protection To A Hugo Post</title>
<link>http://localhost:1313/posts/adding_password_protection_to_a_hugo_post/</link>
<link>https://shiva.dev/posts/adding_password_protection_to_a_hugo_post/</link>
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
<guid>http://localhost:1313/posts/adding_password_protection_to_a_hugo_post/</guid>
<guid>https://shiva.dev/posts/adding_password_protection_to_a_hugo_post/</guid>
<description>&lt;p&gt;In this post, I&amp;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 &amp;ldquo;password.&amp;rdquo; This allows you to set a unique password for each post.&lt;/p&gt;&#xA;&lt;div class=&#34;details admonition warning open&#34;&gt;&#xA; &lt;div class=&#34;details-summary admonition-title&#34;&gt;&#xA; &lt;i class=&#34;icon fas fa-exclamation-triangle fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;proceed with caution&lt;i class=&#34;details-icon fas fa-angle-right fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&#xA; &lt;/div&gt;&#xA; &lt;div class=&#34;details-content&#34;&gt;&#xA; &lt;div class=&#34;admonition-content&#34;&gt;This method lacks complete security. Anyone with basic computer knowledge can access your post or the repository and view the passwords. Therefore, it&amp;rsquo;s advisable to avoid sharing sensitive information using this approach. For full password protection, consider using GitHub secrets or variables instead of passwords, though this topic is not covered in this post.&lt;/div&gt;&#xA; &lt;/div&gt;&#xA; &lt;/div&gt;&#xA;&lt;div class=&#34;details admonition success&#34;&gt;&#xA; &lt;div class=&#34;details-summary admonition-title&#34;&gt;&#xA; &lt;i class=&#34;icon fas fa-check-circle fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;What this post cover&lt;i class=&#34;details-icon fas fa-angle-right fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&#xA; &lt;/div&gt;&#xA; &lt;div class=&#34;details-content&#34;&gt;&#xA; &lt;div class=&#34;admonition-content&#34;&gt;&lt;ol&gt;&#xA;&lt;li&gt;Easy method to assign a password to any Hugo post (not 100% secured)&lt;/li&gt;&#xA;&lt;li&gt;Users will be prompted to enter a password to access the post.&lt;/li&gt;&#xA;&lt;li&gt;Unique password for each post&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA; &lt;/div&gt;&#xA; &lt;/div&gt;&#xA;&lt;p&gt;Before we proceed, open the post &lt;a href=&#34;http://localhost:1313/posts/top_secret/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreffer&#34;&gt;Top Secret&lt;/a&gt;&#xA; that is protection with a password. When prompted, enter the password &lt;code&gt;1234&lt;/code&gt; to read the top secret.&lt;/p&gt;</description>
</item>
<item>
<title>Top Secret</title>
<link>http://localhost:1313/posts/password/</link>
<link>https://shiva.dev/posts/password/</link>
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
<guid>http://localhost:1313/posts/password/</guid>
<guid>https://shiva.dev/posts/password/</guid>
<description>&lt;div class=&#34;details admonition danger open&#34;&gt;&#xA; &lt;div class=&#34;details-summary admonition-title&#34;&gt;&#xA; &lt;i class=&#34;icon fas fa-skull-crossbones fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;Top Secret&lt;i class=&#34;details-icon fas fa-angle-right fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&#xA; &lt;/div&gt;&#xA; &lt;div class=&#34;details-content&#34;&gt;&#xA; &lt;div class=&#34;admonition-content&#34;&gt;1234567890&lt;/div&gt;&#xA; &lt;/div&gt;&#xA; &lt;/div&gt;&#xA;&lt;p&gt;just kidding ;)&lt;/p&gt;</description>
</item>
<item>
<title>Top Secret</title>
<link>http://localhost:1313/posts/top_secret/</link>
<link>https://shiva.dev/posts/top_secret/</link>
<pubDate>Sun, 07 Jul 2024 13:55:20 -0500</pubDate>
<guid>http://localhost:1313/posts/top_secret/</guid>
<guid>https://shiva.dev/posts/top_secret/</guid>
<description>&lt;div class=&#34;details admonition danger open&#34;&gt;&#xA; &lt;div class=&#34;details-summary admonition-title&#34;&gt;&#xA; &lt;i class=&#34;icon fas fa-skull-crossbones fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;Top Secret&lt;i class=&#34;details-icon fas fa-angle-right fa-fw&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&#xA; &lt;/div&gt;&#xA; &lt;div class=&#34;details-content&#34;&gt;&#xA; &lt;div class=&#34;admonition-content&#34;&gt;1234567890&lt;/div&gt;&#xA; &lt;/div&gt;&#xA; &lt;/div&gt;&#xA;&lt;p&gt;just kidding ;)&lt;/p&gt;</description>
</item>
<item>
<title>Add Lunr Search to Hugo site</title>
<link>http://localhost:1313/posts/lunr_search_for_hugo/</link>
<link>https://shiva.dev/posts/lunr_search_for_hugo/</link>
<pubDate>Tue, 11 Jun 2024 20:02:20 -0500</pubDate>
<guid>http://localhost:1313/posts/lunr_search_for_hugo/</guid>
<guid>https://shiva.dev/posts/lunr_search_for_hugo/</guid>
<description>&lt;h3 id=&#34;whats-covered-in-this-post&#34;&gt;What&amp;rsquo;s covered in this post?&lt;/h3&gt;&#xA;&lt;p&gt;Hugo ships with out search, yet I love it. However, I&amp;rsquo;ve managed to integrate lunr search that is supported by the theme &lt;a href=&#34;https://hugoloveit.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreffer&#34;&gt;Loveit&lt;/a&gt;&#xA; I&amp;rsquo;m using on this website. With that being said, this post will cover how I integrate &lt;code&gt;lurn&lt;/code&gt; on &lt;a href=&#34;https://shiva.dev/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreffer&#34;&gt;my website&lt;/a&gt;&#xA; - for demo, go ahead and search for something on this website :)&lt;/p&gt;&#xA;&lt;h3 id=&#34;install-or-update&#34;&gt;Install or update!&lt;/h3&gt;&#xA;&lt;p&gt;Make sure you update or install before we start.&lt;/p&gt;</description>
</item>
</channel>
Expand Down
Loading