Created
June 28, 2019 06:07
-
-
Save ferdisahin/af73beb1a42fe8d56af5abd1b6315c7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gist Bağlantısını Aldık | |
var gistLink = $('.gist .gist-meta a:first-child').attr('href'); | |
// Git Bağlantısını Aldık | |
var gitLink = $('.gist .gist-meta a:nth-child(2)').attr('href'); | |
// Bir önceki meta verinin üzerine özelleştirdiğimiz metamızı yazıyoruz. | |
$('.gist .gist-meta').html('<a target="_blank" href="'+gitLink+'">Gist Bağlantısı</a><a href="'+gistLink+'" target="_blank" style="float:right">Kaynak</a>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment