forked from jeffreytse/jekyll-theme-yat
-
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.
Added prettier fixes and main SCSS ignore
- Loading branch information
1 parent
a994979
commit af2376f
Showing
6 changed files
with
78 additions
and
67 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
assets/css/main.scss |
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,20 +1,26 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="google-translate-customization" content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c"> | ||
{%- seo -%} | ||
<link rel="icon" href="{{ site.favicon }}"> | ||
<link rel="canonical" href="{{ site.url }}"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css"> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"> | ||
<script src="{{ "/assets/js/main.js" | relative_url }}"></script> | ||
{%- feed_meta -%} | ||
{%- if jekyll.environment == 'production' and site.google_analytics -%} | ||
{%- include extensions/google-analytics.html -%} | ||
{%- endif -%} | ||
{%- include extensions/code-highlight.html -%} | ||
{%- include extensions/photo-swipe.html -%} | ||
{%- include custom-head.html -%} | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta | ||
name="google-translate-customization" | ||
content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c" | ||
/> | ||
{%- seo -%} | ||
<link rel="icon" href="{{ site.favicon }}" /> | ||
<link rel="canonical" href="{{ site.url }}" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css" | ||
/> | ||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" /> | ||
<script src="{{ '/assets/js/main.js' | relative_url }}"></script> | ||
{%- feed_meta -%} {%- if jekyll.environment == 'production' and | ||
site.google_analytics -%} {%- include extensions/google-analytics.html -%} | ||
{%- endif -%} {%- include extensions/code-highlight.html -%} {%- include | ||
extensions/photo-swipe.html -%} {%- include custom-head.html -%} | ||
</head> |
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,21 +1,32 @@ | ||
<footer class="site-footer h-card"> | ||
<data class="u-url" href="{{ "/" | relative_url }}"></data> | ||
<data class="u-url" href="{{ '/' | relative_url }}"></data> | ||
|
||
<div class="wrapper"> | ||
<div class="site-footer-inner"> | ||
{%- assign currentYear = 'now' | date: "%Y" -%} | ||
{%- assign copyright = site.copyright | ||
| replace: '{currentYear}', currentYear | ||
| replace: '{author}', site.author | ||
| replace: '(c)', '©' | ||
| replace: '(p)', '℗' | ||
| replace: '(cleft)', '<span class="copyleft">©</span>' | ||
-%} | ||
<div>{{ copyright }}</div> | ||
<div>Powered by <a title="Jekyll is a simple, blog-aware, static site | ||
generator." href="https://jekyllrb.com/">Jekyll</a> & <a title="Yat, yet | ||
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div> | ||
<div class="footer-col rss-subscribe">Subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></div> | ||
<div class="wrapper"> | ||
<div class="site-footer-inner"> | ||
{%- assign currentYear = 'now' | date: "%Y" -%} {%- assign copyright | ||
= site.copyright | replace: '{currentYear}', currentYear | replace: | ||
'{author}', site.author | replace: '(c)', '©' | replace: '(p)', | ||
'℗' | replace: '(cleft)', '<span class="copyleft">©</span>' -%} | ||
<div>{{ copyright }}</div> | ||
<div> | ||
Powered by | ||
<a | ||
title="Jekyll is a simple, blog-aware, static site | ||
generator." | ||
href="https://jekyllrb.com/" | ||
>Jekyll</a | ||
> | ||
& | ||
<a | ||
title="Yat, yet | ||
another theme." | ||
href="https://github.com/jeffreytse/jekyll-theme-yat" | ||
>Yat Theme</a | ||
>. | ||
</div> | ||
<div class="footer-col rss-subscribe"> | ||
Subscribe <a href="{{ '/feed.xml' | relative_url }}">via RSS</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
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,4 +1,9 @@ | ||
<a class="site-brand-inner" rel="author" href="{{ "/" | relative_url }}"> | ||
<img class="site-favicon" title="{{ site.title | escape }}" src="{{ site.favicon }}" onerror="this.style.display='none'"> | ||
{{ site.title | escape }} | ||
<a class="site-brand-inner" rel="author" href="{{ '/' | relative_url }}"> | ||
<img | ||
class="site-favicon" | ||
title="{{ site.title | escape }}" | ||
src="{{ site.favicon }}" | ||
onerror="this.style.display='none'" | ||
/> | ||
{{ site.title | escape }} | ||
</a> |
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,27 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> | ||
|
||
{%- include head.html -%} | ||
|
||
<body> | ||
|
||
{%- include views/header.html -%} | ||
|
||
{%- include views/banner.html -%} | ||
|
||
{%- include extensions/hashlocate.html -%} | ||
|
||
{%- include extensions/theme-toggle.html -%} | ||
|
||
{%- include extensions/click-to-top.html -%} | ||
|
||
<main class="page-content" aria-label="Content"> | ||
<div class="wrapper"> | ||
{{ content }} | ||
</div> | ||
</main> | ||
|
||
{%- include views/footer.html -%} | ||
|
||
</body> | ||
<!doctype html> | ||
<html lang="{{ page.lang | default: site.lang | default: 'en' }}"> | ||
{%- include head.html -%} | ||
|
||
<body> | ||
{%- include views/header.html -%} {%- include views/banner.html -%} {%- | ||
include extensions/hashlocate.html -%} {%- include | ||
extensions/theme-toggle.html -%} {%- include | ||
extensions/click-to-top.html -%} | ||
|
||
<main class="page-content" aria-label="Content"> | ||
<div class="wrapper">{{ content }}</div> | ||
</main> | ||
|
||
{%- include views/footer.html -%} | ||
</body> | ||
</html> |
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