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

github.com/kimcc/hugo-theme-noteworthy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkimcc <15278020+kimcc@users.noreply.github.com>2021-06-18 06:58:40 +0300
committerGitHub <noreply@github.com>2021-06-18 06:58:40 +0300
commit994611d5ddc4e1d6a80046830d50de1c32f35e1e (patch)
tree25d65dfebc5049403af8ab538630c85e635d4b1b
parent3852731b02c3e3bbc19e7cf90705ac3c5f0fdc9b (diff)
parent8e3ed9af3bb95ad5fccff84eb718efe8f100f3e5 (diff)
Merge pull request #28 from ks07/travelicons
Add travel social icons
-rw-r--r--README.md16
-rw-r--r--exampleSite/config.toml88
-rw-r--r--layouts/partials/social.html18
3 files changed, 74 insertions, 48 deletions
diff --git a/README.md b/README.md
index 7eb31da..f620b31 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Refer to the [Hugo docs](https://gohugo.io/getting-started/quick-start/) for mor
## Image shortcode for large images
-To add images using the resize-image shortcode included with this theme, you will need to create a [Post Bundle](https://gohugo.io/content-management/organization/#page-bundles). Create a folder for your post, put your Markdown file and images inside, and rename your Markdown file `index.md`. For example:
+To add images using the resize-image shortcode included with this theme, you will need to create a [Post Bundle](https://gohugo.io/content-management/organization/#page-bundles). Create a folder for your post, put your Markdown file and images inside, and rename your Markdown file `index.md`. For example:
```
my-new-post
@@ -45,7 +45,7 @@ Then, you can add an image within your Markdown file by using the shortcode like
{{< resize-image src="image1.jpg" alt="My first image" >}}
```
-Add captions like this:
+Add captions like this:
```
{{< resize-image src="image2.png" alt="My second image" caption="My caption" >}}
@@ -97,7 +97,11 @@ codepen = "#"
# Academic
googlescholar = "#"
impactstory = "#"
-orcid = "#"
+orcid = "#"
+
+# Travel
+googlemaps = "#"
+tripadvisor = "#"
```
@@ -107,10 +111,10 @@ Add your Disqus shortname and Google Analytics identifier in the `config.toml` f
```
# Add your Disqus shortname here.
-disqusShortname = ""
+disqusShortname = ""
# Add your Google Analytics identifier: UA-XXXXXXXX-X
-googleAnalytics = ""
+googleAnalytics = ""
```
## Ko-fi donation button
@@ -126,4 +130,4 @@ kofi = ""
## License
-Released under the [MIT License](https://github.com/kimcc/hugo-theme-noteworthy/blob/master/LICENSE.md). \ No newline at end of file
+Released under the [MIT License](https://github.com/kimcc/hugo-theme-noteworthy/blob/master/LICENSE.md).
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 2609614..25af6f1 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -7,25 +7,25 @@ paginate = 4 # Set the number of posts to show before overflowing to the next pa
summaryLength = 10 # Configure how long the post summary should be on the homepage.
# Add your Google Analytics identifier: UA-XXXXXXXX-X
-googleAnalytics = ""
+googleAnalytics = ""
# Add your Disqus shortname here.
-disqusShortname = ""
+disqusShortname = ""
[taxonomies]
tag = "tags"
[author]
- name = "kimcc"
+ name = "kimcc"
# Set to false to disallow raw HTML in markdown files
[markup.goldmark.renderer]
unsafe = true
[params]
- math = true
- # Blog description at the top of the homepage. Supports markdown.
- description = "Noteworthy is a minimalist Hugo theme, perfect for writers and bloggers."
+ math = true
+ # Blog description at the top of the homepage. Supports markdown.
+ description = "Noteworthy is a minimalist Hugo theme, perfect for writers and bloggers."
showReadMore = false
@@ -33,64 +33,68 @@ disqusShortname = ""
enableKofi = false
kofi = ""
- # Add links to your accounts. Remove the ones you don't want to include.
- # Main
- email = "#"
+ # Add links to your accounts. Remove the ones you don't want to include.
+ # Main
+ email = "#"
facebook = "#"
twitter = "#"
- instagram = "#"
- tumblr = "#"
- reddit = "#"
- pinterest = "#"
- youtube = "#"
+ instagram = "#"
+ tumblr = "#"
+ reddit = "#"
+ pinterest = "#"
+ youtube = "#"
vimeo = "#"
- weibo = "#"
- vk = "#"
- linkedin = "#"
+ weibo = "#"
+ vk = "#"
+ linkedin = "#"
- # Writing
+ # Writing
medium = "#"
- blogger = "#"
- wordpress = "#"
+ blogger = "#"
+ wordpress = "#"
- # Creative & Visual
+ # Creative & Visual
dribbble = "#"
- behance = "#"
- deviantart = "#"
- flickr = "#"
+ behance = "#"
+ deviantart = "#"
+ flickr = "#"
# Audio & Music
soundcloud = "#"
- # Programming
+ # Programming
github = "#"
- stackoverflow = "#"
- gitlab = "#"
- codepen = "#"
+ stackoverflow = "#"
+ gitlab = "#"
+ codepen = "#"
# Academic
googlescholar = "#"
impactstory = "#"
- orcid = "#"
+ orcid = "#"
+
+ # Travel
+ googlemaps = "#"
+ tripadvisor = "#"
# Menu links along the sidebar navigation.
[[menu.main]]
- identifier = "about"
- name = "About"
- url = "/about/"
- weight = 1 # Weight is an integer used to sort the menu items. The sorting goes from smallest to largest numbers. If weight is not defined for each menu entry, Hugo will sort the entries alphabetically.
+ identifier = "about"
+ name = "About"
+ url = "/about/"
+ weight = 1 # Weight is an integer used to sort the menu items. The sorting goes from smallest to largest numbers. If weight is not defined for each menu entry, Hugo will sort the entries alphabetically.
[[menu.main]]
- identifier = "tags"
- name = "Tags"
- url = "/tags/"
- weight = 2
+ identifier = "tags"
+ name = "Tags"
+ url = "/tags/"
+ weight = 2
[[menu.main]]
- name = "Archives"
- identifier = "archives"
- url = "/archives/"
- weight = 3
+ name = "Archives"
+ identifier = "archives"
+ url = "/archives/"
+ weight = 3
# Privacy configurations: https://gohugo.io/about/hugo-and-gdpr/
[privacy]
@@ -113,4 +117,4 @@ disqusShortname = ""
simple = false
[privacy.youtube]
disable = false
- privacyEnhanced = true \ No newline at end of file
+ privacyEnhanced = true
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 5372740..c4eba73 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -218,6 +218,24 @@
</a>
{{ end }}
+ {{ if isset .Site.Params "googlemaps" }}
+ <a class="social-icon" href="{{ .Site.Params.GoogleMaps }}" target="_blank" rel="noopener" title="Google Maps">
+ <!-- Google Maps icon by https://icons8.com/icons/set/google-maps -->
+ <svg width="28px" height="28px" viewBox="0 0 50 50" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
+ <path d="M28.292 1.326C27.226 1.116 26.127 1 25 1c-4.71 0-8.98 1.93-12.06 5.04l6.92 5.592L28.292 1.326zM18.595 13.178L11.62 7.55C9.35 10.43 8 14.07 8 18c0 2.281.452 4.487 1.304 6.534L18.595 13.178zM22.608 11.432C23.353 11.159 24.154 11 25 11c3.87 0 7 3.13 7 7 0 .338-.032.667-.078.992l7.772-9.499c-2.058-3.539-5.348-6.268-9.285-7.595L22.608 11.432zM27.341 24.591C26.608 24.851 25.822 25 25 25c-3.87 0-7-3.13-7-7 0-.354.034-.7.084-1.039l-7.803 9.537c.386.666.809 1.315 1.289 1.932.37.5.87 1.14 1.45 1.89 1.267 1.633 2.959 3.816 4.59 6.164L27.341 24.591zM18.778 38.215c2.082 3.184 3.852 6.497 4.172 9.055.14.99.99 1.73 1.99 1.73 1.02 0 1.87-.75 1.99-1.75.61-4.83 6.57-12.48 9.78-16.6.56-.72 1.05-1.35 1.5-1.94C40.65 25.69 42 21.89 42 18c0-2.322-.471-4.536-1.319-6.555L18.778 38.215z"/>
+ </svg>
+ </a>
+ {{ end }}
+
+ {{ if isset .Site.Params "tripadvisor" }}
+ <a class="social-icon" href="{{ .Site.Params.Tripadvisor }}" target="_blank" rel="noopener" title="Tripadvisor">
+ <!-- Tripadvisor icon by https://icons8.com/icons/set/tripadvisor -->
+ <svg width="28px" height="28px" viewBox="0 0 50 50" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
+ <path d="M 25 11 C 19.167969 11 13.84375 12.511719 9.789063 15 L 2 15 C 2 15 3.753906 17.152344 4.578125 19.578125 C 2.96875 21.621094 2 24.195313 2 27 C 2 33.628906 7.371094 39 14 39 C 17.496094 39 20.636719 37.492188 22.828125 35.105469 L 25 38 L 27.171875 35.105469 C 29.363281 37.492188 32.503906 39 36 39 C 42.628906 39 48 33.628906 48 27 C 48 24.195313 47.03125 21.621094 45.421875 19.578125 C 46.246094 17.152344 48 15 48 15 L 40.203125 15 C 36.148438 12.511719 30.828125 11 25 11 Z M 14 18 C 18.972656 18 23 22.027344 23 27 C 23 31.972656 18.972656 36 14 36 C 9.027344 36 5 31.972656 5 27 C 5 22.027344 9.027344 18 14 18 Z M 36 18 C 40.972656 18 45 22.027344 45 27 C 45 31.972656 40.972656 36 36 36 C 31.027344 36 27 31.972656 27 27 C 27 22.027344 31.027344 18 36 18 Z M 14 21 C 10.6875 21 8 23.6875 8 27 C 8 30.3125 10.6875 33 14 33 C 17.3125 33 20 30.3125 20 27 C 20 23.6875 17.3125 21 14 21 Z M 36 21 C 32.6875 21 30 23.6875 30 27 C 30 30.3125 32.6875 33 36 33 C 39.3125 33 42 30.3125 42 27 C 42 23.6875 39.3125 21 36 21 Z M 14 23 C 16.210938 23 18 24.789063 18 27 C 18 29.210938 16.210938 31 14 31 C 11.789063 31 10 29.210938 10 27 C 10 24.789063 11.789063 23 14 23 Z M 36 23 C 38.210938 23 40 24.789063 40 27 C 40 29.210938 38.210938 31 36 31 C 33.789063 31 32 29.210938 32 27 C 32 24.789063 33.789063 23 36 23 Z M 14 25 C 12.894531 25 12 25.894531 12 27 C 12 28.105469 12.894531 29 14 29 C 15.105469 29 16 28.105469 16 27 C 16 25.894531 15.105469 25 14 25 Z M 36 25 C 34.894531 25 34 25.894531 34 27 C 34 28.105469 34.894531 29 36 29 C 37.105469 29 38 28.105469 38 27 C 38 25.894531 37.105469 25 36 25 Z"/>
+ </svg>
+ </a>
+ {{ end }}
+
</div>