Skip to content

Commit

Permalink
Mastodon
Browse files Browse the repository at this point in the history
  • Loading branch information
niclake committed Jul 11, 2024
1 parent 1313267 commit 28f2712
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 151 deletions.
3 changes: 0 additions & 3 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ module.exports = [
{
name: '@11tyrocks/eleventy-plugin-sass-lightningcss'
},
{
name: '@sardine/eleventy-plugin-external-links'
},
{
name: '@rknightuk/eleventy-plugin-post-graph',
options: {
Expand Down
146 changes: 0 additions & 146 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"@11tyrocks/eleventy-plugin-sass-lightningcss": "^1.3.0",
"@popperjs/core": "^2.11.8",
"@rknightuk/eleventy-plugin-post-graph": "^1.0.7",
"@sardine/eleventy-plugin-external-links": "^1.4.0",
"bootstrap": "^5.3.3",
"csv-parser": "^3.0.0",
"dotenv": "^16.4.5",
Expand Down
1 change: 1 addition & 0 deletions src/_data/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
},
{
"text": "<i class=\"fa-brands fa-mastodon\"></i>",
"rel": "me",
"url": "https://mastodon.social/@niclake",
"explore": false
},
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/navbar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% set classes = "nav-item" %}
{% endif %}
<li class="{{ classes }}">
<a class="nav-link" href="{{ nav.url }}">{{ nav.text | safe }}</a>
<a {% if nav.rel %}rel="me"{% endif %} class="nav-link" href="{{ nav.url }}">{{ nav.text | safe }}</a>
</li>
{% endif %}
{%- endfor -%}
Expand Down

0 comments on commit 28f2712

Please sign in to comment.