Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit a43b903

Browse files
committed
fix: link no referrer
1 parent b5a9e5e commit a43b903

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

src/_includes/partials/content.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<div class="w-full max-w-2xl grid grid-cols-1 lg:grid-cols-2 gap-4 my-8 px-4 lg:mx-0">
2-
3-
{% if quicklinks.links %}
4-
5-
{% for item in quicklinks.links %}
6-
<a href="{{item.url}}" target="_blank" class="p-5 border rounded border-gray-200 hover:border-purple-400">
7-
<h3>{{item.title}}
8-
</h3>
9-
<p>{{item.desc}}</p>
10-
</a>
11-
{% endfor %}
12-
13-
{% endif %}
14-
1+
<div class="w-full max-w-2xl grid grid-cols-1 lg:grid-cols-2 gap-4 my-8 px-4 lg:mx-0">
2+
3+
{% if quicklinks.links %}
4+
5+
{% for item in quicklinks.links %}
6+
<a href="{{item.url}}" target="_blank" rel="noopener noreferrer" class="p-5 border rounded border-gray-200 hover:border-purple-400">
7+
<h3>{{item.title}}
8+
</h3>
9+
<p>{{item.desc}}</p>
10+
</a>
11+
{% endfor %}
12+
13+
{% endif %}
14+
1515
</div>

src/_includes/partials/footer.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<footer class="{{ 'fixed' if path == 'home' }} bottom-0 text-center w-full py-4">
2-
<small class="text-gray-500">Copyright ©
3-
{{settings.name}}
4-
2020. Made with ❤ by
5-
<a href="{{settings.url}}" target="_blank" class="underline">{{settings.author}}</a>
6-
7-
<a href="https://github.com/StaticJsCMS/static-cms-eleventy-netlify-template" class="underline" target="_blank" rel="noopener">View on Github</a>
8-
</small>
9-
</footer>
1+
<footer class="{{ 'fixed' if path == 'home' }} bottom-0 text-center w-full py-4">
2+
<small class="text-gray-500">Copyright ©
3+
{{settings.name}}
4+
2020. Made with ❤ by
5+
<a href="{{settings.url}}" target="_blank" rel="noopener noreferrer" class="underline">{{settings.author}}</a>
6+
7+
<a href="https://github.com/StaticJsCMS/static-cms-eleventy-netlify-template" class="underline" target="_blank" rel="noopener noreferrer">View on Github</a>
8+
</small>
9+
</footer>

0 commit comments

Comments
 (0)