Skip to content

Commit

Permalink
Добавляет кнопку со звёздочками GH в футер (#1307)
Browse files Browse the repository at this point in the history
* Добавляет кнопку со звёздочками в футер

* Исправляет ссылку на репо, из которого берутся 🌟
  • Loading branch information
solarrust authored Sep 20, 2024
1 parent 77dd845 commit 40e7cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/includes/blocks/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
</ul>
<ul class="footer__list footer-list font-theme font-theme--code base-list">
<li class="footer-list__item">
<a class="footer-list__link link" href="{{ constants.dokaOrgLink }}">GitHub</a>
<a class="footer-list__link link" href="/subscribe/">Рассылка</a>
</li>
<li class="footer-list__item">
<a class="footer-list__link link" href="/subscribe/">Рассылка</a>
<a class="github-button" href="https://github.com/doka-guide/content" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true" aria-label="Star doka-guide/content on GitHub">Star</a>
</li>
</ul>
<ul class="footer__list footer-list font-theme font-theme--code base-list">
Expand Down
2 changes: 2 additions & 0 deletions src/includes/meta.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

<!-- 2. Preconnect -->
<!-- 3. Async inline script -->
<!-- 3.1 GitHub Stars Button script -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- 4. CSS with @import -->
<!-- 5. Synchronous JS -->
<!-- 6. CSS without @import -->
Expand Down

0 comments on commit 40e7cf5

Please sign in to comment.