feat: rework home page
This commit is contained in:
parent
51d810a866
commit
05fefec352
|
@ -1,3 +1,4 @@
|
||||||
|
# Hugo
|
||||||
public/
|
public/
|
||||||
resources/
|
resources/
|
||||||
dist/
|
dist/
|
||||||
|
@ -5,6 +6,7 @@ node_modules/
|
||||||
transpiled/
|
transpiled/
|
||||||
worker/
|
worker/
|
||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
|
_vendor/
|
||||||
|
|
||||||
# Local Netlify folder
|
# Local Netlify folder
|
||||||
.netlify
|
.netlify
|
||||||
|
|
103
config.toml
103
config.toml
|
@ -1,69 +1,78 @@
|
||||||
baseurl = "https://msfjarvis.dev/"
|
baseURL = "https://msfjarvis.dev/"
|
||||||
languageCode = "en-us"
|
|
||||||
title = "Harsh Shandilya"
|
title = "Harsh Shandilya"
|
||||||
|
paginate = 5
|
||||||
theme = ["github.com/msfjarvis/hugo-social-metadata", "github.com/adityatelange/hugo-PaperMod"]
|
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
|
enableInlineShortcodes = true
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
|
buildDrafts = false
|
||||||
|
buildFuture = false
|
||||||
|
buildExpired = false
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
|
||||||
[module]
|
[markup]
|
||||||
[[module.imports]]
|
[markup.highlight]
|
||||||
path = "github.com/msfjarvis/hugo-social-metadata"
|
anchorLineNos = false
|
||||||
[[module.imports]]
|
codeFences = true
|
||||||
path = "github.com/adityatelange/hugo-PaperMod"
|
guessSyntax = false
|
||||||
|
hl_Lines = ''
|
||||||
[params]
|
hl_inline = false
|
||||||
description = "Recovering Android and Kotlin developer, amateur Rustacean"
|
lineAnchors = ''
|
||||||
subtitle = "Recovering Android and Kotlin developer, amateur Rustacean"
|
lineNoStart = 1
|
||||||
keywords = [
|
lineNos = false
|
||||||
"homepage",
|
lineNumbersInTable = true
|
||||||
"blog",
|
noClasses = false
|
||||||
"android",
|
noHl = false
|
||||||
"kotlin",
|
tabWidth = 4
|
||||||
"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"
|
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "About"
|
name = "About"
|
||||||
url = "/about"
|
url = "/about"
|
||||||
|
weight = 5
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Blog"
|
name = "Blog"
|
||||||
url = "/posts"
|
url = "/posts"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Uses"
|
name = "Uses"
|
||||||
url = "/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]]
|
[[params.socialIcons]]
|
||||||
name = "Github"
|
name = "GitHub"
|
||||||
icon = "github"
|
icon = "github"
|
||||||
url = "https://github.com/msfjarvis"
|
url = "https://github.com/msfjarvis"
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -3,6 +3,6 @@ module github.com/msfjarvis/msfjarvis.dev
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
require (
|
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
|
github.com/msfjarvis/hugo-social-metadata v1.0.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -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-20230331160356-2210bf20b365 h1:0vXEIIYrPRXVUg1bdRIWQMMz5JHqpIeGurjhgvxKe5o=
|
||||||
github.com/adityatelange/hugo-PaperMod v0.0.0-20230212065308-25e5b4d2982a/go.mod h1:HCHxNMKYdGafUYjVV3ICiAqznZK2yH0iI53jqcDFDdQ=
|
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 h1:mfLnus8iznPGiyFkJC93eCWr1PrdiNyv2BSONX1ZQVg=
|
||||||
github.com/msfjarvis/hugo-social-metadata v1.0.0/go.mod h1:VfkrQTa9Gvdja58swLlBZz2/7ZEoj5nk9xt0pJAhfVo=
|
github.com/msfjarvis/hugo-social-metadata v1.0.0/go.mod h1:VfkrQTa9Gvdja58swLlBZz2/7ZEoj5nk9xt0pJAhfVo=
|
||||||
|
|
Loading…
Reference in New Issue