This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(daattali#744): Escape special characters in title (daattali#745) * add matt artist as sponsor * Fix margin top alignment issue on Safari (daattali#750) * Update README.md * Update README.md * Update README.md * Update README.md * Remove references to any public Staticman API instance (daattali#775) * Update CHANGELOG.md * Adding option for Medium Social Link at footer (daattali#784) * Itch.io social link (daattali#788) * Update CHANGELOG.md * Add support for Cloudflare analytics (daattali#798) * Include Reddit in share options of posts (daattali#815) * add search to the navbar using 'post_search' config param * Update CHANGELOG.md * ui: make sure search results dont have underline until hovered * search feature: make sure page scrollbar disappears when searching but a scrollbar for search items shows if needed * update changelog Co-authored-by: Dmitry <[email protected]> Co-authored-by: Dean Attali <[email protected]> Co-authored-by: Amy Troschinetz <[email protected]> Co-authored-by: Dean Attali <[email protected]> Co-authored-by: Vincent Tam <[email protected]> Co-authored-by: Diksha Verma <[email protected]> Co-authored-by: Emaleth <[email protected]> Co-authored-by: Ari Kalfus <[email protected]> Co-authored-by: Leedan <[email protected]> Co-authored-by: Marco Blessing <[email protected]>
- Loading branch information
1 parent
5e52982
commit 6a84cef
Showing
12 changed files
with
237 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## v5.0.0 (2020-11-21) | ||
## 📅 21-08-08 | ||
|
||
Initial version of this SA edition implemented. It's based on `beautiful-jekyll 5.0.0` -> commit `8b41236`. | ||
- 📌 Merge upstream changes to commit `30a757d | ||
` | ||
## 📅 v5.0.0 (2020-11-21) | ||
|
||
- Initial version of this SA edition implemented. It's based on `beautiful-jekyll 5.0.0` -> commit `8b41236`. |
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
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,8 @@ | ||
{% if site.cloudflare_analytics %} | ||
<!-- Cloudflare Web Analytics --> | ||
<script defer | ||
src='https://static.cloudflareinsights.com/beacon.min.js' | ||
data-cf-beacon='{"token": "{{ site.cloudflare_analytics}}"}'> | ||
</script> | ||
<!-- End Cloudflare Web Analytics --> | ||
{% endif %} |
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,39 @@ | ||
{% if site.post_search %} | ||
|
||
<div id="beautifuljekyll-search-overlay"> | ||
|
||
<div id="nav-search-exit" title="Exit search">✕</div> | ||
<input type="text" id="nav-search-input" placeholder="Search"> | ||
<ul id="search-results-container"></ul> | ||
|
||
<script src="https://unpkg.com/simple-jekyll-search@latest/dest/simple-jekyll-search.min.js"></script> | ||
<script> | ||
var searchjson = '[ \ | ||
{% for post in site.posts %} \ | ||
{ \ | ||
"title" : "{% if post.title != "" %}{{ post.title | escape }}{% else %}{{ post.excerpt | strip_html | escape | strip }}{%endif%}", \ | ||
"category" : "{{ post.tags | join: \', \' }}", \ | ||
"url" : "{{ site.baseurl }}{{ post.url }}", \ | ||
"date" : "{{ post.date | date: "%B %e, %Y" | default: "January 1, 1970" }}" \ | ||
}, \ | ||
{% endfor %} \ | ||
{% for page in site.html_pages %}{% if page.title != "{title}" and page.title != "404 - Page not found" %} \ | ||
{ \ | ||
"title" : "{% if page.title != "" %}{{ page.title | escape }}{% else %}{{ page.excerpt | strip_html | escape | strip }}{% endif %}", \ | ||
"category" : "{% if page.tags %}{{ page.tags | join: \', \' }}{% else %}page{% endif %}", \ | ||
"url" : "{{ site.baseurl }}{{ page.url }}", \ | ||
"date" : "{{ page.date | date: '%B %e, %Y' | default: "January 1, 1970" }}" \ | ||
}{% unless forloop.last %},{% endunless %} \ | ||
{% endif %}{% endfor %} \ | ||
]'; | ||
searchjson = JSON.parse(searchjson); | ||
|
||
var sjs = SimpleJekyllSearch({ | ||
searchInput: document.getElementById('nav-search-input'), | ||
resultsContainer: document.getElementById('search-results-container'), | ||
json: searchjson | ||
}); | ||
</script> | ||
</div> | ||
|
||
{% endif %} |
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
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