Skip to content

Commit

Permalink
Merge pull request #42 from GokturkTalha/main
Browse files Browse the repository at this point in the history
Footer eklendi
  • Loading branch information
GokturkTalha authored Oct 12, 2024
2 parents 5d23a7b + 8132e02 commit 6dd699e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions footer-plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
window.$docsify.plugins = [].concat(
function(hook) {
hook.afterEach(function(html, next) {
var footer = '<footer style="text-align: center; margin-top: 50px; padding: 10px;">' +
'<p><a href="https://raw.githubusercontent.com/GuvendeKal/guvendekal.org/refs/heads/main/LICENSE">' +
'Bu sitedeki tüm içerikler CC0 lisansı altında kamu yararı gözetilerek yazılmıştır.' +
'</a></p>' +
'</footer>';
html = html + footer;
next(html);
});
},
window.$docsify.plugins
);

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<!-- docsify -->
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- plugins -->
<script src="footer-plugin.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
</body>
</html>

0 comments on commit 6dd699e

Please sign in to comment.