-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Edit about.md file layout fix: Modify font size fix: Modify about page for personallinks fix: Modify image preview setting
- Loading branch information
Showing
10 changed files
with
216 additions
and
53 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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
|
||
title: Kernel360 Crew Tech Blog | ||
title: Kernel360 Crew Blog | ||
#email: [email protected] | ||
author: Kernel360 | ||
|
||
|
@@ -43,10 +43,10 @@ author: Kernel360 | |
# copyright: "Unpublished Work (cleft) 2023-{currentYear} {author}" | ||
copyright: "Copyright © Day 1 Company. All Rights Reserved" | ||
|
||
description: >- # this means to ignore newlines until "baseurl:" | ||
Write an awesome description for your new site here. You can edit this | ||
line in _config.yml. It will appear in your document head meta (for | ||
Google search results) and in your feed.xml site description. | ||
# description: >- # this means to ignore newlines until "baseurl:" | ||
# Write an awesome description for your new site here. You can edit this | ||
# line in _config.yml. It will appear in your document head meta (for | ||
# Google search results) and in your feed.xml site description. | ||
|
||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: "" # the base hostname & protocol for your site, e.g. https://example.com | ||
|
@@ -141,7 +141,8 @@ yat: | |
# it will be always kept on every visit (i.e. no matter | ||
# the browser is closed or not) | ||
# | ||
# night_mode: "auto" | ||
# night_mode: "on" | ||
theme_mode: dark | ||
|
||
# Code badge setting | ||
# You can enable or disable the code badge and so on | ||
|
@@ -153,12 +154,12 @@ yat: | |
|
||
# If you want to link only specific pages in your header, uncomment | ||
# this and add the path to the pages in order as they should show up | ||
# header_pages: | ||
# - index.html | ||
# - archives.html | ||
# - categories.html | ||
# - tags.html | ||
# - about.md | ||
header_pages: | ||
- index.html | ||
- archives.html | ||
- categories.html | ||
- tags.html | ||
# - about.md | ||
|
||
# Page default value | ||
# defaults: | ||
|
@@ -197,15 +198,15 @@ banner: | |
|
||
# Photo previewer settings (PhotoSwipe 5) | ||
# the options please refer to: https://photoswipe.com/options/ | ||
# photo_previewer: | ||
# gallery: "section.main" | ||
# children: "a.photo-swipe" | ||
# bgOpacity: 0.8 | ||
# padding: | ||
# top: 20 | ||
# bottom: 40 | ||
# left: 100 | ||
# right: 100 | ||
photo_previewer: | ||
gallery: "section.main" | ||
# children: "a.photo-swipe" | ||
bgOpacity: 0.8 | ||
padding: | ||
top: 20 | ||
bottom: 40 | ||
left: 100 | ||
right: 100 | ||
|
||
# Click to top settings | ||
# click_to_top: | ||
|
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,28 @@ | ||
<style> | ||
.embed-container { | ||
position: relative; | ||
padding-bottom: 56.25%; | ||
height: 0; | ||
overflow: hidden; | ||
max-width: 100%; | ||
} | ||
.embed-container iframe, | ||
.embed-container object, | ||
.embed-container embed { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
</style> | ||
|
||
<div class="embed-container"> | ||
<iframe | ||
src="https://www.youtube.com/embed/{{ include.id }}" | ||
frameborder="0" | ||
allowfullscreen="" | ||
onclick="ga('send', 'event', 'post', 'click', 'youtubePlayer');" | ||
> | ||
</iframe> | ||
</div> |
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,5 +1,5 @@ | ||
--- | ||
layout: post | ||
layout: aboutlayouts | ||
hidden: | ||
- header | ||
- navigator | ||
|
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,74 @@ | ||
--- | ||
layout: framework | ||
banner: | ||
banner_html: post-header.html | ||
hidden: [] | ||
<!-- sidebar: | ||
- article-menu --> | ||
--- | ||
|
||
<div class="post"> | ||
<section> | ||
{%- assign name = 'banner' -%} {%- include functions.html func='get_value' | ||
-%} {%- assign banner = return -%} {%- assign name = 'hidden' -%} {%- | ||
include functions.html func='get_value' -%} {%- assign hidden = return -%} | ||
{%- assign result = hidden | where_exp: "item", "item == 'header'" -%} {%- | ||
if banner == nil and result.size == 0 -%} {%- include views/post-header.html | ||
-%} {%- endif -%} {%- include views/article.html -%} {%- assign result = | ||
hidden | where_exp: "item", "item == 'navigator'" -%} {%- if result.size == | ||
0 -%} | ||
<div class="post-nav"> | ||
{%- if page.previous -%} | ||
<a | ||
class="previous" | ||
href="{{ page.previous.url | relative_url }}" | ||
title="{{ | ||
page.previous.title | escape }}" | ||
>{{ page.previous.title | escape | truncatewords: 6 }}</a | ||
> | ||
{%- else -%} | ||
<span></span> | ||
{%- endif -%} {%- if page.next -%} | ||
<a | ||
class="next" | ||
href="{{ page.next.url | relative_url }}" | ||
title="{{ page.next.title | escape }}" | ||
>{{ page.next.title | escape | truncatewords: 6 }}</a | ||
> | ||
{%- else -%} | ||
<span></span> | ||
{%- endif -%} | ||
</div> | ||
{%- endif -%} {%- assign result = hidden | where_exp: "item", "item == | ||
'related_posts'" -%} {%- if result.size == 0 -%} | ||
<div class="post-related"> | ||
<div>Related Articles</div> | ||
<ul> | ||
{% assign posts = site[page.collection] | sample:4 %} {%- for post in | ||
posts -%} {%- assign post_item_class = "" -%} {%- if post.top -%} {%- | ||
assign post_item_class = "top-post" -%} {%- endif -%} | ||
<li class="{{ post_item_class }}"> | ||
<a | ||
class="post-link" | ||
href="{{ post.url | relative_url }}" | ||
title="{{ post.title | escape }}" | ||
> | ||
{{ post.title | escape | truncatewords: 12 }} {%- include | ||
views/post-badges.html -%} | ||
</a> | ||
</li> | ||
{%- endfor -%} | ||
</ul> | ||
</div> | ||
{%- endif -%} {%- assign result = hidden | where_exp: "item", "item == | ||
'comments'" -%} {%- if result.size == 0 -%} | ||
<div class="post-comments"> | ||
{%- if page.comments != false -%} {%- if site.disqus.shortname -%} {%- | ||
include extensions/comments/disqus.html -%} {%- endif -%} {%- if | ||
site.gitment.username -%} {%- include extensions/comments/gitment.html -%} | ||
{%- endif -%} {%- if site.utterances.repo -%} {%- include | ||
extensions/comments/utterances.html -%} {%- endif -%} {%- endif -%} | ||
</div> | ||
{%- endif -%} | ||
</section> | ||
</div> |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.