Skip to content

Commit 0d1329d

Browse files
committed
cosmetic: bring back the footer social icons
1 parent 78ed23a commit 0d1329d

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/_data/site.json

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
{ "title": "Our API", "url": "/api-doc/", "size":"" },
1212
{ "title": "OpenAPI Tools", "url": "https://apis.guru/awesome-openapi3/", "size":"" }
1313
],
14+
"author": {
15+
"github": "APIs-guru",
16+
"twitter": "APIs_guru"
17+
},
1418
"data": {
1519
"projects": [
1620
{

src/_includes/footer.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
© 2021 APIs.guru All rights reserved.
1919
</li>
2020
</ul>
21-
<div>
2221

23-
</div>
22+
</div>
2423

2524
</footer>

src/_includes/icon-github.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">git.io/APIs.guru</span></a>
1+
<a href="https://github.com/{{ site.author.github }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">github.com/APIs-guru</span></a>

src/_includes/icon-twitter.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
1+
<a href="https://twitter.com/{{ site.author.twitter }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ site.author.twitter }}</span></a>

0 commit comments

Comments
 (0)