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

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md18
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social.html4
3 files changed, 17 insertions, 6 deletions
diff --git a/README.md b/README.md
index e6c6541..793f39d 100644
--- a/README.md
+++ b/README.md
@@ -112,6 +112,7 @@ These settings to display your social accounts.
- `twitter`: Your [Twitter](https://twitter.com) username.
- `facebook`: Your [Facebook](https://www.facebook.com) username.
- `google`: Your [Google](https://www.google.com) username.
+- `googlescholar`: Your [Google Scholar](https://scholar.google.com) account ID. [How to get this ID](#google-scholar)
- `medium`: Your [Medium](https://medium.com) username.
- `devto`: Your [dev.to](https://dev.to) username.
- `stackoverflow`: Your [StackOverflow](https://stackoverflow.com) username.
@@ -138,10 +139,15 @@ These settings to display your social accounts.
- `strava`: Your [Strava](https://strava.com) username.
- `skype`: Your [skype](https://skype.com) username.
- `telegram`: Your [Telegram](https://telegram.com) username.
-- `whatsapp`: Your phone number.* Follow the steps [here](https://faq.whatsapp.com/en/26000030/).
-- `email`: Your email.*
+- `whatsapp`: Your phone number. Follow the steps [here](https://faq.whatsapp.com/en/26000030/). [Privacy Warning](#privacy-warning)
+- `email`: Your email. [Privacy Warning](#privacy-warning)
-* `WARNING`: It is recommended to keep your private data (phone number/ email) private. Especially if you don't use them for business. Adding it to your public will expose your data to the public. This is irreversabile.
+#### Privacy Warning
+It is recommended to keep your private data (phone number/ email) private. Especially if you don't use them for business. Adding it to your public will expose your data to the public. This is irreversible.
+
+#### Account Details
+##### Google Scholar
+To get this ID, go to Google Scholar, press the "My Profile" tab at the top, then copy the text after the `user=` till the first subsequent `&` (e.g. the `ACCOUNT_ID` part in `https://scholar.google.com/citations?user=ACCOUNT_ID&hl=en`).
### Extras `[params.extra]`
@@ -162,7 +168,7 @@ These settings for the main menu that is displayed on the home page.
- `url`: Root URL for this section/page. eg. `/blog/`.
Example:
-```
+```toml
[[menu.main]]
name = "blog"
weight = 100
@@ -182,8 +188,8 @@ Example:
* Responsive
* Minimalist
* Bootstrap 3
-* Fontawesome
-* HighlighJS
+* Font Awesome
+* HighlightJS
* Disqus support for commenting
* Built-in support for 404 pages, Disqus comments and Google Analytics.
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e04f4bf..cd36631 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -41,6 +41,7 @@ linkedin = "<username>"
twitter = "<username>"
facebook = "<username>"
google = "<username>"
+googlescholar = "<account_id>"
stackoverflow = "<username>"
lastfm = "<username>"
goodreads = "<username>"
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 07b3f8b..b1af75f 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -5,6 +5,9 @@
{{ with .Site.Params.social.google }}
<a href="https://plus.google.com/{{.}}/about" aria-label="Google Plus" target="_blank"><i class="fab fa-google-plus" aria-hidden="true"></i></a>
{{ end }}
+ {{ with .Site.Params.social.googlescholar}}
+ <a href="https://scholar.google.com/citations?user={{.}}" aria-label="Google Scholar" target="_blank"><i class="fas fa-graduation-cap" aria-hidden="true"></i></a>
+ {{ end }}
{{ with .Site.Params.social.goodreads }}
<a href="https://www.goodreads.com/user/show/{{.}}" aria-label="Goodreads" target="_blank"><i class="fab fa-goodreads" aria-hidden="true"></i></a>
{{ end }}
@@ -118,6 +121,7 @@
"sameAs": [
{{ with .Site.Params.social.twitter }}"https://twitter.com/{{.}}",{{ end }}
{{ with .Site.Params.social.google }}"https://plus.google.com/{{.}}/about",{{ end }}
+ {{ with .Site.Params.social.googlescholar}}"https://scholar.google.com/citations?user={{.}}"{{ end }}
{{ with .Site.Params.social.goodreads }}"https://www.goodreads.com/user/show/{{.}}",{{ end }}
{{ with .Site.Params.social.lastfm }}"https://www.last.fm/user/{{.}}/",{{ end }}
{{ with .Site.Params.social.facebook }}"https://facebook.com/{{.}}",{{ end }}