feat: rework home page

This commit is contained in:
Harsh Shandilya 2023-04-01 11:50:06 +05:30
parent 51d810a866
commit 05fefec352
No known key found for this signature in database
4 changed files with 61 additions and 50 deletions

2
.gitignore vendored
View File

@ -1,3 +1,4 @@
# Hugo
public/
resources/
dist/
@ -5,6 +6,7 @@ node_modules/
transpiled/
worker/
.hugo_build.lock
_vendor/
# Local Netlify folder
.netlify

View File

@ -1,69 +1,78 @@
baseurl = "https://msfjarvis.dev/"
languageCode = "en-us"
baseURL = "https://msfjarvis.dev/"
title = "Harsh Shandilya"
paginate = 5
theme = ["github.com/msfjarvis/hugo-social-metadata", "github.com/adityatelange/hugo-PaperMod"]
pygmentsstyle = "dracula"
pygmentscodefences = true
pygmentscodefencesguesssyntax = false
author = "Harsh Shandilya"
ignoreErrors = ["error-remote-getjson"]
paginate = 10
enableInlineShortcodes = true
enableRobotsTXT = true
buildDrafts = false
buildFuture = false
buildExpired = false
enableEmoji = true
[module]
[[module.imports]]
path = "github.com/msfjarvis/hugo-social-metadata"
[[module.imports]]
path = "github.com/adityatelange/hugo-PaperMod"
[params]
description = "Recovering Android and Kotlin developer, amateur Rustacean"
subtitle = "Recovering Android and Kotlin developer, amateur Rustacean"
keywords = [
"homepage",
"blog",
"android",
"kotlin",
"rust",
]
# Set default theme and remove toggle
defaultTheme = "dark"
disableThemeToggle = true
# Set parameters for social metadata
socialImage = "android-chrome-512x512.webp"
# Turn on Utterances-backed comments
comments = true
utterancesRepo = "msfjarvis/msfjarvis.dev"
utterancesTheme = "photon-dark"
# Configure the theme
ShowReadingTime = true
ShowFullTextinRSS = true
ShowCodeCopyButtons = true
ShowBreadCrumbs = true
disableSpecial1stPost = true
ShowPostNavLinks = true
ShowToc = true
ShowShareButtons = true
ShareButtons = [ "reddit", "telegram" ]
# Required for search engine indexers
env = "production"
[markup]
[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ''
hl_inline = false
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = false
noHl = false
tabWidth = 4
[[menu.main]]
name = "About"
url = "/about"
weight = 5
[[menu.main]]
name = "Blog"
name = "Blog"
url = "/posts"
weight = 10
[[menu.main]]
name = "Uses"
url = "/uses"
weight = 15
[minify]
disableXML = true
[params]
defaultTheme = "dark"
description = "Recovering Android and Kotlin developer, amateur Rustacean"
socialImage = "android-chrome-512x512.webp"
comments = true
utterancesRepo = "msfjarvis/msfjarvis.dev"
showShareButtons = true
showReadingTime = true
showPostNavLinks = true
showBreadCrumbs = true
showCodeCopyButtons = true
showRssButtonInSectionTermList = true
showToc = true
[params.editPost]
url = "https://github.com/msfjarvis/msfjarvis.dev/tree/main/content/"
text = "Suggest Changes"
appendFilePath = true
[params.assets]
disableHLJS = true
[params.homeInfoParams]
title = "Hi 👋, I am Harsh"
content = "Recovering Android and Kotlin developer, amateur Rustacean"
[[params.socialIcons]]
name = "Github"
name = "GitHub"
icon = "github"
url = "https://github.com/msfjarvis"

2
go.mod
View File

@ -3,6 +3,6 @@ module github.com/msfjarvis/msfjarvis.dev
go 1.19
require (
github.com/adityatelange/hugo-PaperMod v0.0.0-20230212065308-25e5b4d2982a // indirect
github.com/adityatelange/hugo-PaperMod v0.0.0-20230331160356-2210bf20b365 // indirect
github.com/msfjarvis/hugo-social-metadata v1.0.0 // indirect
)

4
go.sum
View File

@ -1,4 +1,4 @@
github.com/adityatelange/hugo-PaperMod v0.0.0-20230212065308-25e5b4d2982a h1:wpV+dZfkEZJTOSMqGpVMJ57Pnd2vjT+gqMud9BhZqB0=
github.com/adityatelange/hugo-PaperMod v0.0.0-20230212065308-25e5b4d2982a/go.mod h1:HCHxNMKYdGafUYjVV3ICiAqznZK2yH0iI53jqcDFDdQ=
github.com/adityatelange/hugo-PaperMod v0.0.0-20230331160356-2210bf20b365 h1:0vXEIIYrPRXVUg1bdRIWQMMz5JHqpIeGurjhgvxKe5o=
github.com/adityatelange/hugo-PaperMod v0.0.0-20230331160356-2210bf20b365/go.mod h1:HCHxNMKYdGafUYjVV3ICiAqznZK2yH0iI53jqcDFDdQ=
github.com/msfjarvis/hugo-social-metadata v1.0.0 h1:mfLnus8iznPGiyFkJC93eCWr1PrdiNyv2BSONX1ZQVg=
github.com/msfjarvis/hugo-social-metadata v1.0.0/go.mod h1:VfkrQTa9Gvdja58swLlBZz2/7ZEoj5nk9xt0pJAhfVo=