-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60d3d1e
commit c780369
Showing
11 changed files
with
207 additions
and
160 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 |
---|---|---|
|
@@ -2,3 +2,5 @@ _site/ | |
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
.env | ||
.env* |
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
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,114 +1,128 @@ | ||
<!-- | ||
Template Name:Affiliates | ||
Copyright:WowThemes.net,https://www.wowthemes.net | ||
Version:1.0.2 | ||
License: https://www.wowthemes.net/freebies-license/ | ||
--> | ||
|
||
<aside class="sidebar"> | ||
|
||
{% if page.download %} | ||
<div aria-label="download links" class="sidebar-section"> | ||
<h5><span>Resources</span></h5> | ||
{% if site.github.repository_url %} | ||
<a class="btn btn-primary btn-lg col-12 mb-3" href="{{ site.github.repository_url }}" rel="noopener noreferrer">View on GitHub <i class='fab fa-github'></i></a> | ||
{% endif %} | ||
{% if page.download.url %} | ||
<a class="btn btn-primary btn-lg col-12 mb-3" href="{{ page.download.url }}" rel="noopener noreferrer">Download <i class='fas fa-cloud-download-alt'></i></a> | ||
{% elsif site.github.latest_release %} | ||
<a class="btn btn-primary btn-lg col-12 mb-3" href="{{ site.github.latest_release.html_url }}" rel="noopener noreferrer">Latest Release</a> | ||
<div style="display:flex;flex-wrap: wrap;justify-content: space-between;"> | ||
<div><i class='fas fa-tag'></i> {{ site.github.latest_release.tag_name }}</div> | ||
<div><i class='fas fa-clock'></i> <time datetime="{{ site.github.latest_release.published_at }}">{{ site.github.latest_release.published_at | date: "%b %d, %Y" }}</time></div> | ||
{% endif %} | ||
{% if site.github.license %} | ||
<div><i class='fas fa-balance-scale'></i> {{ site.github.license.name }}</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{% unless page.url == "/blog/" or page.url contains "/blog/page" or site.isSubdirectory %} | ||
<!-- Featured --> | ||
<div aria-label="featured posts" class="sidebar-section"> | ||
<h5><span>Featured</span></h5> | ||
<section class="featured-posts"> | ||
{% unless site.sidebar.recent_posts == false or page.url == "/blog/" or page.url contains "/blog/page" %} | ||
<!-- Featured --> | ||
<div aria-label="featured posts" class="sidebar-section"> | ||
<h5><span>Featured</span></h5> | ||
|
||
<section class="featured-posts"> | ||
|
||
<div class="row listfeaturedtag"> | ||
<div class="row listfeaturedtag"> | ||
|
||
{% for post in site.posts %} | ||
{% for post in site.posts %} | ||
|
||
{% if post.featured == true %} | ||
{% if post.featured == true %} | ||
|
||
{% include featuredlist.html %} | ||
{% include featuredlist.html %} | ||
|
||
{% endif %} | ||
{% endif %} | ||
|
||
{% endfor %} | ||
{% endfor %} | ||
|
||
</div> | ||
</div> | ||
|
||
</section> | ||
</div> | ||
{% endunless %} | ||
</section> | ||
</div> | ||
{% endunless %} | ||
|
||
{% unless page.url == "/" or page.url == "/blog/" or page.url contains "/blog/page"%} | ||
<!-- Recent Posts --> | ||
<div aria-label="recent posts" class="sidebar-section"> | ||
<h5><span>Recent Posts</span></h5> | ||
<section class="recent-posts"> | ||
{% unless page.url == "/" or page.url == "/blog/" or page.url contains "/blog/page"%} | ||
<!-- Recent Posts --> | ||
<div aria-label="recent posts" class="sidebar-section"> | ||
<h5><span>Recent Posts</span></h5> | ||
|
||
<section class="recent-posts"> | ||
|
||
<div class="row listfeaturedtag"> | ||
<div class="row listfeaturedtag"> | ||
|
||
{% for post in site.posts limit:4 %} | ||
{% for post in site.posts limit:4 %} | ||
|
||
{% include featuredlist.html %} | ||
{% include featuredlist.html %} | ||
|
||
{% endfor %} | ||
{% endfor %} | ||
|
||
</div> | ||
</div> | ||
|
||
</section> | ||
</div> | ||
{% endunless %} | ||
|
||
<div aria-label="useful links" class="sidebar-section"> | ||
<h5><span>Useful</span></h5> | ||
<ul style="list-style:list-none"> | ||
<li><a href="{{ site.baseurl }}/tag/qwiklabs">Qwiklabs Logbooks & Tools</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/tumblr">For Tumblr Developer</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/matlab">MATLAB Tips</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/evernote/">Evernote Tips</a></li> | ||
<li><a href="{{ site.baseurl }}/contact">Partner with Me</a></li> | ||
<li><a href="https://invitation.codes/@chriskyfung" data-type="badge1" target="_blank" rel="noopener noreferrer">Use my referral codes</a></li> | ||
</ul> | ||
</div> | ||
|
||
<!-- {% unless page.url == "/" or page.url == "/blog/" or page.url contains "/blog/page"%} | ||
<div class="sidebar-section"> | ||
<h5><span>Recommended for You</span></h5> | ||
<div class="addthis_relatedposts_inline"></div> | ||
</div> | ||
{% endunless %} --> | ||
|
||
<div aria-label="youtube" class="sidebar-section"> | ||
<h5><span><i class='fab fa-youtube' style="color:red"></i> YouTube</span></h5> | ||
<h6><span>Featured Video 📹</span></h6> | ||
<ul style="list-style:list-none"> | ||
<li>{% include youtube-thumb.html id="5UrQ9D-epG8" title='GSP315 Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab' %}</li> | ||
</ul> | ||
<amp-iframe | ||
width="240" | ||
height="100" | ||
sandbox="allow-scripts allow-same-origin" | ||
layout="intrinsic" | ||
frameborder="0" | ||
src="https://chriskyfung.gitlab.io/youtube_subscribe_button/youtube_subscribe_button.html" | ||
> | ||
<div fallback>Fail to load script</div> | ||
</amp-iframe> | ||
</div> | ||
|
||
<div aria-label="sidbar-ads" class="sidebar-section"> | ||
<h5><span>Ads</span></h5> | ||
{% include sidebar-adsense.html %} | ||
</div> | ||
|
||
<div aria-label="craftweeks" class="sidebar-section"> | ||
<h5><span>Related Sites</span></h5> | ||
<a href="https://craftweeks.com/en/" target="_blank"> | ||
{% include picture.html img="craftweeks-logo-with-black-title-transparent-bg-200x67.png" width="200" height="67" alt="Craftweeks logo" source="assets" lightbox=false %} | ||
</a> | ||
<h6><span>Recommended 📬</span></h6> | ||
<ul style="list-style:list-none"> | ||
<li> | ||
<a href="https://craftweeks.com/en/tag/postman/" target="_blank"> | ||
{% include picture.html img="postman-tutorials-disqus-rest-api.thumb.jpg" width="267" height="150" alt="Postman Tutorials: Case Study of Disqus REST API" source="assets" %} | ||
<b>Postman Tutorials: Case Study of Disqus API</b> | ||
</a> | ||
</li> | ||
</ul> | ||
</section> | ||
</div> | ||
{% endunless %} | ||
|
||
<div aria-label="useful links" class="sidebar-section"> | ||
<h5><span>Useful</span></h5> | ||
<ul style="list-style:list-none"> | ||
<li><a href="{{ site.baseurl }}/tag/qwiklabs">Qwiklabs Logbooks & Tools</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/tumblr">For Tumblr Developer</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/matlab">MATLAB Tips</a></li> | ||
<li><a href="{{ site.baseurl }}/tag/evernote/">Evernote Tips</a></li> | ||
<li><a href="{{ site.baseurl }}/contact">Partner with Me</a></li> | ||
<li><a href="https://invitation.codes/@chriskyfung" data-type="badge1" target="_blank" rel="noopener noreferrer">Use my referral codes</a></li> | ||
</ul> | ||
</div> | ||
|
||
<!-- {% unless page.url == "/" or page.url == "/blog/" or page.url contains "/blog/page"%} | ||
<div class="sidebar-section"> | ||
<h5><span>Recommended for You</span></h5> | ||
<div class="addthis_relatedposts_inline"></div> | ||
</div> | ||
{% endunless %} --> | ||
|
||
<div aria-label="youtube" class="sidebar-section"> | ||
<h5><span><i class='fab fa-youtube' style="color:red"></i> YouTube</span></h5> | ||
<h6><span>Featured Video 📹</span></h6> | ||
<ul style="list-style:list-none"> | ||
<li>{% include youtube-thumb.html id="5UrQ9D-epG8" title='GSP315 Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab' %}</li> | ||
</ul> | ||
<amp-iframe | ||
width="240" | ||
height="100" | ||
sandbox="allow-scripts allow-same-origin" | ||
layout="intrinsic" | ||
frameborder="0" | ||
src="https://chriskyfung.gitlab.io/youtube_subscribe_button/youtube_subscribe_button.html" | ||
> | ||
<div fallback>Fail to load script</div> | ||
</amp-iframe> | ||
</div> | ||
|
||
<div aria-label="sidbar-ads" class="sidebar-section"> | ||
<h5><span>Ads</span></h5> | ||
{% include sidebar-adsense.html %} | ||
</div> | ||
|
||
<div aria-label="craftweeks" class="sidebar-section"> | ||
<h5><span>Related Sites</span></h5> | ||
<a href="https://craftweeks.com/en/" target="_blank"> | ||
{% include picture.html img="craftweeks-logo-with-black-title-transparent-bg-200x67.png" width="200" height="67" alt="Craftweeks logo" source="assets" lightbox=false %} | ||
</a> | ||
<h6><span>Recommended 📬</span></h6> | ||
<ul style="list-style:list-none"> | ||
<li> | ||
<a href="https://craftweeks.com/en/tag/postman/" target="_blank"> | ||
{% include picture.html img="postman-tutorials-disqus-rest-api.thumb.jpg" width="267" height="150" alt="Postman Tutorials: Case Study of Disqus REST API" source="assets" %} | ||
<b>Postman Tutorials: Case Study of Disqus API</b> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
</aside> |
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
Oops, something went wrong.
c780369
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥 Breaking change
disqus-amp-baseurl
todisqus_amp_baseurl
✨ New Features
sidebar.featured
andsidebar.recent_posts
variables to enable/disable displaying "Featured" and "Recent Posts" widgets in the sidebar, respectivelydownload
variable in front matterdownload.url
with an URL value in front matter🔥 Removed
isSubdirectory
📦 Packages
jekyll-github-metadata
plugin🔧 Chore
.env
files📝 Documentation