diff --git a/.gitignore b/.gitignore index 364fdec..73ab876 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ public/ +resources/ diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 09dc5f3..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/hugo-coder-portfolio"] - path = themes/hugo-coder-portfolio - url = https://github.com/msfjarvis/hugo-coder-portfolio diff --git a/config.toml b/config.toml index 83188df..b5856d8 100644 --- a/config.toml +++ b/config.toml @@ -1,18 +1,20 @@ -Title = "Harsh Shandilya" baseurl = "https://msfjarvis.website" languageCode = "en-us" title = "Harsh Shandilya" -theme = "hugo-coder-portfolio" +theme = "hello-friend-ng" [author] name = "Harsh Shandilya" [params] description = "Android Developer, Kotlin fanatic and wannabe Rustacean" - avatarurl = "https://avatars0.githubusercontent.com/u/13348378?v=4" - snsShare = true - enableTwitterShare = true - twitterUsername = "MSF_Jarvis" + dateform = "Jan 2, 2006" + dateformShort = "Jan 2" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-02 15:04 -0700" + keywords = "homepage, blog, android, kotlin, programming" + contentTypeName = "posts" + defaultTheme = "dark" [menu] [[menu.main]] @@ -39,25 +41,20 @@ theme = "hugo-coder-portfolio" [[params.social]] name = "GitHub" icon = "fab fa-github fa-2x" - weight = 1 url = "https://github.com/msfjarvis" [[params.social]] name = "Twitter" icon = "fab fa-twitter fa-2x" - weight = 2 url = "https://twitter.com/MSF_Jarvis" [[params.social]] name = "Keybase" icon = "fab fa-keybase fa-2x" - weight = 3 url = "https://keybase.io/msf_jarvis" [[params.social]] name = "DEV.to" icon = "fab fa-dev fa-2x" - weight = 4 url = "https://dev.to/msfjarvis" [[params.social]] name = "GPG" icon = "fas fa-key fa-2x" - weight = 5 url = "/publickey.txt" diff --git a/themes/hello-friend-ng/layouts/partials/head.html b/themes/hello-friend-ng/layouts/partials/head.html index 2636acb..8836e09 100644 --- a/themes/hello-friend-ng/layouts/partials/head.html +++ b/themes/hello-friend-ng/layouts/partials/head.html @@ -20,8 +20,7 @@ {{ end }} - + {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }} diff --git a/themes/hello-friend-ng/layouts/partials/social-icons.html b/themes/hello-friend-ng/layouts/partials/social-icons.html index 09ca681..e0dabc9 100644 --- a/themes/hello-friend-ng/layouts/partials/social-icons.html +++ b/themes/hello-friend-ng/layouts/partials/social-icons.html @@ -1,3 +1,9 @@ -{{ range . -}} -   {{ partial "svg.html" . }}   -{{- end -}} +{{ range sort .}} +  +{{ if .icon }} + +{{ else }} +{{ .name | humanize }} +{{ end }} +  +{{ end }} diff --git a/themes/hello-friend-ng/layouts/partials/svg.html b/themes/hello-friend-ng/layouts/partials/svg.html deleted file mode 100644 index 106c2ce..0000000 --- a/themes/hello-friend-ng/layouts/partials/svg.html +++ /dev/null @@ -1,25 +0,0 @@ -{{- if (eq .name "codepen") -}} - -{{- else if (eq .name "facebook") -}} - -{{- else if (eq .name "github") -}} - -{{- else if (eq .name "gitlab") -}} - -{{- else if (eq .name "instagram") -}} - -{{- else if (eq .name "linkedin") -}} - -{{- else if (eq .name "slack") -}} - -{{- else if (eq .name "twitter") -}} - -{{- else if (eq .name "youtube") -}} - -{{- else if (eq .name "email") -}} - -{{- else if (eq .name "telegram") -}} - -{{- else -}} - -{{- end -}} diff --git a/themes/hugo-coder-portfolio b/themes/hugo-coder-portfolio deleted file mode 160000 index 9ce2341..0000000 --- a/themes/hugo-coder-portfolio +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9ce2341836bfd11c2e89b85dd0b17e5319274a03