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

github.com/gevhaz/hugo-theme-notrack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <gevhaz@tutanota.com>2020-06-01 16:44:38 +0300
committerSimon <gevhaz@tutanota.com>2020-06-01 16:44:38 +0300
commitf7a28102d4c1ab311112dc6960ec63a4b6a0cdf8 (patch)
tree18b85495200af3252fcaa3f6c8fad77daa1bf18b /README.md
parent2fd32110149bfc64a05a23f866eca862a00c2cd2 (diff)
New Social shortcode and restyled latest from the blog heading
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/README.md b/README.md
index 00dbb5e..0020987 100644
--- a/README.md
+++ b/README.md
@@ -312,11 +312,11 @@ Example usage:
{{< /container >}}
```
-## How to create a contact box
+## How to create social links
There is a shortcode for creating a framed area with links to your
profiles called `contact-box`. The thing it does is to put a frame with
-links to your social media on the rights side of the page, and, if you
+links to your social media or other contact info on the rights side of the page, and, if you
want, some text on the left side of the box, outside the frame. Put this
text within the shortcode tags.
@@ -327,9 +327,11 @@ social under params, like this:
params:
social:
github: <your github username>
+ email: <email address>
```
-Then, to use the shortcode in a page, do:
+For all available social icons, see the `data/notrack/social.yaml` file. There
+are 64 of them. Then, to use the shortcode in a page, do:
```
{{< contact-box >}}
@@ -337,6 +339,10 @@ Some text you want to include
{{< /contact-box >}}
```
+Or, for an alternative design,
+
+{{< social >}}
+
## Other projects used in this theme
The theme does not secretly download any resources from other websites
@@ -366,4 +372,7 @@ source.
For matching the icons from Font Awesome with names for various social
networking services, I use the
[social.yml](https://github.com/dillonzq/LoveIt/blob/master/assets/data/social.yml)
-file from the LoveIt theme, which uses the MIT license.
+file from the LoveIt theme, which uses the MIT license. I modified it to use the
+Font Awesome Solid font for the email icon, because the one in the original file was
+using the Font Awesome Regular font, which it seems only Pro users of Font
+Awesome [can use](https://fontawesome.com/plans). The solid one also looks better.