-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix hugo toml * fix post types * display author and tag information correctly * improve directory filtering. fix #182
- Loading branch information
1 parent
2c88dce
commit 3c73a15
Showing
5 changed files
with
70 additions
and
33 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<script> | ||
var containerEl = document.querySelector('.shuffle-wrapper'); | ||
if (containerEl) { | ||
var Shuffle = window.Shuffle; | ||
var myShuffle = new Shuffle(document.querySelector('.shuffle-wrapper'), { | ||
itemSelector: '.shuffle-item', | ||
buffer: 1, | ||
isCentered: true | ||
}); | ||
jQuery('.custom-select').on('change', function (evt) { | ||
var i = $('.custom-select option:selected').map(function(a, item){return item.value;}); | ||
myShuffle.filter(i.get()); | ||
}); | ||
} | ||
</script> |
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
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