1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Super feature: Pinned posts.

This commit is contained in:
Cotes Chung
2020-06-06 12:45:33 +08:00
parent d1963af964
commit 34d54f9349
7 changed files with 75 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ function displayPageviews(data) {
if ($("#post-list").length > 0) { /* the Home page */
$(".post-preview").each(function() {
var path = $(this).children("h1").children("a").attr("href");
var path = $(this).children("div").children("h1").children("a").attr("href");
tacklePV(rows, path, $(this).find('.pageviews'), hasInit);
});