Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,11 @@ johndoe:

To define what links appear in the author sidebar use the `authors.links` key in either `_config.yml` or `/_data/authors.yml`.

| Name | Description |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| `title` | Describes the link. Not visible, used for accessibility purposes. |
| `url` | URL the link points to. |
| `icon` | Corresponds with a [Font Awesome icon](https://fontawesome.com/icons?d=gallery) e.g., `fab fa-twitter-square`. |
| Name | Description |
| ------- | ---------------------------------------------------------------------------------------------------------------------- |
| `title` | Describes the link. Not visible, used for accessibility purposes. |
| `url` | URL the link points to. |
| `icon` | Corresponds with a [Font Awesome icon](https://fontawesome.com/icons?d=gallery) e.g., `fa-brands fa-square-twitter`. |

**Example:**

Expand All @@ -549,13 +549,13 @@ author:
links:
- title: Twitter
url: https://twitter.com/username
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It felt like updating all the social examples from the base twitter to either x-twitter or bsky would probably be out of scope for this set of changes. Happy to apply across the board if you have a preference.

- title: Instagram
url: https://instagram.com/username
icon: fab fa-instagram
icon: fa-brands fa-instagram
- title: GitHub
url: https://github.com/username
icon: fab fa-github-square
icon: fa-brands fa-square-github
```

**Note:** To disable author links completely use use:
Expand Down Expand Up @@ -786,25 +786,25 @@ The footer links and copyright text can both be customized.

Footer links are set in `_config.yml` under the `footer_links` key.

| Name | Description |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| `title` | Describes the link. Not visible, used for accessibility purposes. |
| `url` | URL the link points to. |
| `icon` | Corresponds with a [Font Awesome 5 icon](https://fontawesome.com/icons?d=gallery) e.g., `fab fa-twitter-square`. |
| Name | Description |
| ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `title` | Describes the link. Not visible, used for accessibility purposes. |
| `url` | URL the link points to. |
| `icon` | Corresponds with a [Font Awesome 6 icon](https://fontawesome.com/icons?d=gallery) e.g., `fa-brands fa--square-twitter`. |

**Examples:**

```yaml
footer_links:
- title: Twitter
url: https://twitter.com/username
icon: fab fa-twitter-square
icon: fa-brands fa-twitter-square
- title: GitHub
url: https://github.com/mmistakes
icon: fab fa-github-square
icon: fa-brands fa-square-github
- title: Feed
url: atom.xml
icon: fas fa-rss-square
icon: fa-solid fa-square-rss
```

**Note:** To disable footer links completely use `footer_links: false`.
Expand Down Expand Up @@ -1110,7 +1110,7 @@ If all goes well, executing `npm run build:js` will compress/concatenate `main.j
## Contributing

Found a typo in the documentation? Requesting a feature or
[bug fix][issues]? Search through the open and closed issues before [submitting an issue][new-issue] to avoid duplication.
[bug fix][issues]? Search through the open and closed issues before [submitting an issue][new-issue] to avoid duplication.

[Pull requests][using-pull-requests] are also appreciated. If this is your first time, it may be helpful to read up on the [GitHub Flow][github-flow].

Expand Down
2 changes: 1 addition & 1 deletion _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Billy Rick:
links:
- title: Twitter
url: https://twitter.com/billyrick
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter

Cornelius Fiddlebone:
name: Cornelius Fiddlebone
Expand Down
2 changes: 1 addition & 1 deletion _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{%- else -%}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script>
<script src="https://use.fontawesome.com/releases/v6.7.2/js/all.js"></script>
{%- endif -%}

{%- if jekyll.environment == 'production' and site.google_analytics -%}
Expand Down
8 changes: 4 additions & 4 deletions _includes/social-share.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="page-share">
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--facebook btn--small"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].share | default: 'Share' }}</span></a>
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--twitter btn--small"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].tweet | default: 'Tweet' }}</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--linkedin btn--small"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> <span>LinkedIn</span></a>
<a href="https://reddit.com/submit?title={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--reddit btn--small"><i class="fab fa-fw fa-reddit" aria-hidden="true"></i> <span>Reddit</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--facebook btn--small"><i class="fa-brands fa-fw fa-facebook" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].share | default: 'Share' }}</span></a>
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--twitter btn--small"><i class="fa-brands fa-fw fa-twitter" aria-hidden="true"></i> <span>{{ site.data.text[site.locale].tweet | default: 'Tweet' }}</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--linkedin btn--small"><i class="fa-brands fa-fw fa-linkedin" aria-hidden="true"></i> <span>LinkedIn</span></a>
<a href="https://reddit.com/submit?title={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" class="btn btn--reddit btn--small"><i class="fa-brands fa-fw fa-reddit" aria-hidden="true"></i> <span>Reddit</span></a>
</div>
14 changes: 7 additions & 7 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,25 +116,25 @@ author:
links:
- title: Twitter
url: https://twitter.com/mmistakes
icon: fab fa-twitter-square
icon: fa-brands fa--square-twitter
- title: Instagram
url: https://instagram.com/mmistakes
icon: fab fa-instagram
icon: fa-brands fa-instagram
- title: GitHub
url: https://github.com/mmistakes
icon: fab fa-github-square
icon: fa-brands fa-square-github

# Footer Links
footer_links:
- title: Twitter
url: https://twitter.com/mmistakes
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter
- title: Instagram
url: https://instagram.com/mmistakes
icon: fab fa-instagram
icon: fa-brands fa-instagram
- title: GitHub
url: https://github.com/mmistakes
icon: fab fa-github-square
icon: fa-brands fa-square-github
- title: Feed
url: atom.xml
icon: fas fa-rss-square
icon: fa-solid fa-square-rss
2 changes: 1 addition & 1 deletion docs/_data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Billy Rick:
links:
- title: Twitter
url: https://twitter.com/billyrick
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter

Cornelius Fiddlebone:
name: Cornelius Fiddlebone
Expand Down
14 changes: 7 additions & 7 deletions example/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,25 @@ author:
links:
- title: Twitter
url: https://twitter.com/mmistakes
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter
- title: Instagram
url: https://instagram.com/mmistakes
icon: fab fa-instagram
icon: fa-brands fa-instagram
- title: GitHub
url: https://github.com/mmistakes
icon: fab fa-github-square
icon: fa-brands fa-square-github

# Footer Links
footer_links:
- title: Twitter
url: https://twitter.com/mmistakes
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter
- title: Instagram
url: https://instagram.com/mmistakes
icon: fab fa-instagram
icon: fa-brands fa-instagram
- title: GitHub
url: https://github.com/mmistakes
icon: fab fa-github-square
icon: fa-brands fa-square-github
- title: Feed
url: atom.xml
icon: fas fa-rss-square
icon: fa-solid fa-square-rss
2 changes: 1 addition & 1 deletion example/_data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Billy Rick:
links:
- title: Twitter
url: https://twitter.com/billyrick
icon: fab fa-twitter-square
icon: fa-brands fa-square-twitter

Cornelius Fiddlebone:
name: Cornelius Fiddlebone
Expand Down