Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya <parsiya@users.noreply.github.com>2022-12-18 23:05:24 +0300
committerparsiya <parsiya@users.noreply.github.com>2022-12-18 23:05:24 +0300
commitf24ac80aea5c85bd8d219f866d2521b9a4625b60 (patch)
tree8675d148b2b320527c3154b4c6042ad412b108b1
parentb4ee5919d2d7ab63e183f446135ef095a01b7645 (diff)
edits to the social media parts of readme and sample config
Removed my own links from the sample config and readme. Added Mastodon to the readme. Removed the `if` for the FontAwesome vs. ForkAwesome icon for keybase, we can use fa-keybase in both.
-rwxr-xr-xREADME.md13
-rw-r--r--layouts/partials/sidebar.html6
-rwxr-xr-xsample-config.toml4
3 files changed, 10 insertions, 13 deletions
diff --git a/README.md b/README.md
index 14fd75b..c7707bb 100755
--- a/README.md
+++ b/README.md
@@ -343,12 +343,13 @@ Sidebar social network icons are configured as follows:
``` toml
[params]
- github = "https://github.com/parsiya/"
- bitbucket = "https://bitbucket.org/parsiya/"
- gitlab = "https://gitlab.com/parsiya"
- twitter = "https://twitter.com/cryptogangsta/"
- keybase = "https://keybase.io/parsiya/"
- linkedin = "https://www.linkedin.com/in/parsiya/"
+ github = "https://github.com/parsiya/Hugo-Octopress/"
+ bitbucket = ""
+ gitlab = ""
+ twitter = ""
+ keybase = ""
+ linkedin = ""
+ mastodon = ""
stackoverflow = ""
youtube = ""
facebook = ""
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 6263fb5..91bf139 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -28,11 +28,7 @@
{{ with .Site.Params.gitlab }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-gitlab fa-3x"></i></a>{{ end }}
{{ with .Site.Params.twitter }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-twitter fa-3x"></i></a>{{ end }}
{{ with .Site.Params.mastodon }}<a target="_blank" rel="me noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-mastodon fa-3x"></i></a>{{ end }}
- {{ if not .Site.Params.fontAwesome }}
- {{ with .Site.Params.keybase }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-keybase fa-3x"></i></a>{{ end }} <!-- added keybase -->
- {{ else }}
- {{ with .Site.Params.keybase }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-key fa-3x"></i></a>{{ end }} <!-- added keybase -->
- {{ end }}
+ {{ with .Site.Params.keybase }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-keybase fa-3x"></i></a>{{ end }}
{{ with .Site.Params.linkedin }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-linkedin fa-3x"></i></a>{{ end }}
{{ with .Site.Params.stackOverflow }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-stack-overflow fa-3x"></i></a>{{ end }}
{{ with .Site.Params.facebook }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-facebook fa-3x"></i></a>{{ end }}
diff --git a/sample-config.toml b/sample-config.toml
index ec545bf..aaede62 100755
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -55,8 +55,8 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the
# sidebar links
github = "https://github.com/parsiya/Hugo-Octopress"
- bitbucket = "https://bitbucket.org/parsiya/"
- twitter = "https://twitter.com/cryptogangsta/"
+ bitbucket = ""
+ twitter = ""
mastodon = ""
keybase = ""
stackoverflow = ""