forked from kitian616/jekyll-TeXt-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change code indentation from 4 to 2
- Loading branch information
Showing
60 changed files
with
1,575 additions
and
1,528 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,10 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"beautify.config": { | ||
"indent_size": 2 | ||
}, | ||
"files.associations": { | ||
"*.html": "jekyll" | ||
} | ||
} | ||
|
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,14 +1,10 @@ | ||
<div class="m-page-footer js-page-footer"> | ||
<div class="main"> | ||
<aside> | ||
{% include info/follow-me.html %} | ||
</aside> | ||
<footer class="site-info"> | ||
<p>© {{ site.title }} {{ site.data.locale.COPYRIGHT_DATES }}</p> | ||
<p>Powered by <a | ||
title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a | ||
title="TeXt is a succinct theme for blogging." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>. | ||
</p> | ||
</footer> | ||
</div> | ||
<div class="main"> | ||
<aside> {% include info/follow-me.html %} </aside> | ||
<footer class="site-info"> | ||
<p>© {{ site.title }} {{ site.data.locale.COPYRIGHT_DATES }}</p> | ||
<p>Powered by <a title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a | ||
title="TeXt is a succinct theme for blogging." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>.</p> | ||
</footer> | ||
</div> | ||
</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,53 +1,52 @@ | ||
<header class="m-page-header main clearfix"> | ||
{% if site.paths.home %} | ||
{% assign __path = site.paths.home %} | ||
{% else %} | ||
{% assign __path = '/' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% if site.title %} | ||
<a class="site-title" title="{% if site.description %}{{ site.description }}{% endif %}" | ||
href="{{ __return }}">{{ site.title }}</a> | ||
{% endif %} | ||
<div class="site-logo"> | ||
{% include logo/logo.svg %} | ||
</div> | ||
<nav> | ||
<ul class="inline-list"> | ||
{% assign __path = '/' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.HOME %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href }}">{{ __return }}</a></li> | ||
{% if site.paths.all %} | ||
{% assign __path = site.paths.all %} | ||
{% else %} | ||
{% assign __path = '/all.html' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.ALL %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href | append: "?tag=" | replace: '//', '/'}}">{{ __return }}</a></li> | ||
{% for list in site.nav_lists %} | ||
{% assign __path = list.url %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = list.titles %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li> | ||
{% endfor %} | ||
{% if site.paths.rss %} | ||
{% assign __path = site.paths.rss %} | ||
{% else %} | ||
{% assign __path = '/feed.xml' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.RSS %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a type="application/rss+xml" href="{{ href }}">{{ __return }}</a></li> | ||
</ul> | ||
</nav> | ||
{% if site.paths.home %} | ||
{% assign __path = site.paths.home %} | ||
{% else %} | ||
{% assign __path = '/' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% if site.title %} | ||
<a class="site-title" title="{% if site.description %}{{ site.description }}{% endif %}" href="{{ __return }}">{{ site.title }}</a> | ||
{% endif %} | ||
<div class="site-logo"> | ||
{% include logo/logo.svg %} | ||
</div> | ||
<nav> | ||
<ul class="inline-list"> | ||
{% assign __path = '/' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.HOME %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href }}">{{ __return }}</a></li> | ||
{% if site.paths.all %} | ||
{% assign __path = site.paths.all %} | ||
{% else %} | ||
{% assign __path = '/all.html' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.ALL %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href | append: "?tag=" | replace: '//', '/'}}">{{ __return }}</a></li> | ||
{% for list in site.nav_lists %} | ||
{% assign __path = list.url %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = list.titles %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ href }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li> | ||
{% endfor %} | ||
{% if site.paths.rss %} | ||
{% assign __path = site.paths.rss %} | ||
{% else %} | ||
{% assign __path = '/feed.xml' %} | ||
{% endif %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.RSS %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a type="application/rss+xml" href="{{ href }}">{{ __return }}</a></li> | ||
</ul> | ||
</nav> | ||
</header> |
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,25 +1,26 @@ | ||
{% assign locale = site.data.locale %} | ||
<div class="m-license"> | ||
<div class="clearfix"> | ||
{% if site.repository and site.repository_tree %} | ||
{% assign __path = '/assets/images/octocat.jpg' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<a class="octocat" href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}"> | ||
<img alt="View on Github" src="{{ __return }}" /></a> | ||
{% assign __locale = locale.POST_ON_GITHUB %} | ||
{% include snippets/locale-to-string.html %} | ||
<p><a href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">{{ __return }}</a></p> | ||
{% endif %} | ||
{% assign __locale = locale.LICENSE_ANNOUNCE %} | ||
{% include snippets/locale-to-string.html %} | ||
<p>{{ __return | replace: "[LICENSE]", '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a>' }}</p> | ||
{% assign __path = '/assets/images/license-cc4.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<a class="license" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"> | ||
<img alt="Creative Commons License" src="{{ __return }}" /> | ||
</a> | ||
{% assign __locale = locale.LICENSE_INTRO %} | ||
{% include snippets/locale-to-string.html %} | ||
<p>{{ __return }}</p> | ||
</div> | ||
{% assign locale = site.data.locale %} | ||
<div class="clearfix"> | ||
{% if site.repository and site.repository_tree %} | ||
{% assign __path = '/assets/images/octocat.jpg' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<a class="octocat" href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}"> | ||
<img alt="View on Github" src="{{ __return }}" /> | ||
</a> | ||
{% assign __locale = locale.POST_ON_GITHUB %} | ||
{% include snippets/locale-to-string.html %} | ||
<p><a href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">{{ __return }}</a></p> | ||
{% endif %} | ||
{% assign __locale = locale.LICENSE_ANNOUNCE %} | ||
{% include snippets/locale-to-string.html %} | ||
<p>{{ __return | replace: "[LICENSE]", '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a>' }}</p> | ||
{% assign __path = '/assets/images/license-cc4.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<a class="license" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"> | ||
<img alt="Creative Commons License" src="{{ __return }}" /> | ||
</a> | ||
{% assign __locale = locale.LICENSE_INTRO %} | ||
{% include snippets/locale-to-string.html %} | ||
<p>{{ __return }}</p> | ||
</div> | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.