Skip to content

Commit

Permalink
Add backlink to verify mastodon (alshedivat#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunovianna authored and chowland committed Aug 23, 2023
1 parent df224b7 commit bd84338
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :jekyll_plugins do
gem 'jekyll-paginate-v2'
gem 'jekyll-scholar'
gem 'jekyll-sitemap'
gem 'jekyll-target-blank'
gem 'jekyll-link-attributes'
gem 'jekyll-twitter-plugin'
gem 'jemoji'
gem 'mini_racer'
Expand Down
17 changes: 14 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ og_image: # The site-wide (default for all links) Open Graph preview image
github_username: chowland # your GitHub user name
gitlab_username: # your GitLab user name
twitter_username: chowlandGFD # your Twitter handle
mastodon_username: # your mastodon username
mastodon_instance: # your mastodon instance
mastodon_username: # your mastodon instance+username in the format instance.tld/@username
linkedin_username: cjhowland # your LinkedIn user name
scholar_userid: pf4KNaQAAAAJ # your Google Scholar ID
semanticscholar_id: # your Semantic Scholar ID
Expand Down Expand Up @@ -189,7 +188,7 @@ plugins:
- jekyll-paginate-v2
- jekyll/scholar
- jekyll-sitemap
- jekyll-target-blank
- jekyll-link-attributes
- jekyll-twitter-plugin
- jemoji

Expand Down Expand Up @@ -263,6 +262,18 @@ max_author_limit: 3 # leave blank to always show all authors
more_authors_animation_delay: 10 # more authors are revealed on click using animation; smaller delay means faster animation


# -----------------------------------------------------------------------------
# Jekyll Link Attributes
# -----------------------------------------------------------------------------

# These are the defaults
external_links:
enabled: true
rel: external nofollow noopener
target: _blank
exclude:


# -----------------------------------------------------------------------------
# Responsive WebP Images
# -----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
{%- if site.twitter_username -%}
<a href="https://twitter.com/{{ site.twitter_username }}" title="Twitter"><i class="fab fa-twitter"></i></a>
{% endif %}
{%- if site.mastodon_instance and site.mastodon_username -%}
<a rel="me" href="https://{{ site.mastodon_instance }}/@{{site.mastodon_username}}" title="Mastodon"><i class="fab fa-mastodon"></i></a>
{%- if site.mastodon_username -%}
<a rel="me" href="https://{{ site.mastodon_username }}" title="Mastodon"><i class="fab fa-mastodon"></i></a>
{% endif %}
{%- if site.medium_username -%}
<a href="https://medium.com/@{{ site.medium_username }}" title="Medium"><i class="fab fa-medium"></i></a>
Expand Down

0 comments on commit bd84338

Please sign in to comment.