forked from kitian616/jekyll-TeXt-theme
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
13 changed files
with
120 additions
and
71 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
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,26 +1,41 @@ | ||
<header class="m-page-header main clearfix"> | ||
{% assign __path = '/' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% if site.title %} | ||
<a class="site-title" title="{% if site.description %}{{ site.description }}{% endif %}" | ||
href="{{ "/" | prepend: site.baseurl | replace: '//', '/' }}">{% if site.title %}{{ site.title }}{% endif %} | ||
</a> | ||
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="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ __return }}</a></li> | ||
<li><a href="{{ href }}">{{ __return }}</a></li> | ||
{% assign __path = '/all.html' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
{% assign href = __return %} | ||
{% assign __locale = site.data.locale.NAV.ALL %} | ||
{% include snippets/locale-to-string.html %} | ||
<li><a href="{{ '/all.html' | prepend: site.baseurl | append: "?tag=" | replace: '//', '/'}}">{{ __return }}</a></li> | ||
<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="{{ list.url | prepend: site.baseurl | replace: '//', '/' }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li> | ||
<li><a href="{{ href }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li> | ||
{% endfor %} | ||
{% assign __path = '/feed.xml' %} | ||
{% 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="{{ '/feed.xml' | prepend: site.baseurl | replace: '//', '/'}}">{{ __return }}</a></li> | ||
<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
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,25 +1,38 @@ | ||
<!-- | ||
for Safari on iOS | ||
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ | ||
--> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/logo/icon-180x180.png"> | ||
<link rel="apple-touch-icon" sizes="167x167" href="/assets/images/logo/icon-167x167.png"> | ||
<link rel="apple-touch-icon" sizes="152x152" href="/assets/images/logo/icon-152x152.png"> | ||
<link rel="apple-touch-icon" sizes="120x120" href="/assets/images/logo/icon-120x120.png"> | ||
<link rel="shortcut icon" href="/assets/images/logo/icon-120x120.png"> | ||
<!-- | ||
for Chrome on Android | ||
https://developer.chrome.com/multidevice/android/installtohomescreen | ||
--> | ||
<!-- for Safari on iOS https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ --> | ||
{% assign __path = '/assets/images/logo/icon-180x180.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="apple-touch-icon" sizes="180x180" href="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-167x167.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="apple-touch-icon" sizes="167x167" href="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-152x152.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="apple-touch-icon" sizes="152x152" href="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-120x120.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="apple-touch-icon" sizes="120x120" href="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-120x120.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="shortcut icon" href="{{ __return }}"> | ||
<!-- for Chrome on Android https://developer.chrome.com/multidevice/android/installtohomescreen --> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<link rel="icon" sizes="192x192" href="/assets/images/logo/icon-192x192.png"> | ||
<!-- | ||
for Edge on Windows 10 | ||
https://msdn.microsoft.com/en-us/library/dn255024(v=vs.85).aspx | ||
--> | ||
<meta name="msapplication-TileImage" content="/assets/images/logo/icon-144x144.png"> | ||
<meta name="msapplication-square310x310logo" content="/assets/images/icon-310x310.png"> | ||
<meta name="msapplication-wide310x150logo" content="/assets/images/icon-310x150.png"> | ||
<meta name="msapplication-square150x150logo" content="/assets/images/icon-150x150.png"> | ||
<meta name="msapplication-square70x70logo" content="/assets/images/icon-70x70.png"> | ||
{% assign __path = '/assets/images/logo/icon-192x192.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<link rel="icon" sizes="192x192" href="{{ __return }}"> | ||
<!-- for Edge on Windows 10 https://msdn.microsoft.com/en-us/library/dn255024(v=vs.85).aspx --> | ||
{% assign __path = '/assets/images/logo/icon-144x144.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<meta name="msapplication-TileImage" content="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-310x310.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<meta name="msapplication-square310x310logo" content="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-310x150.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<meta name="msapplication-wide310x150logo" content="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-150x150.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<meta name="msapplication-square150x150logo" content="{{ __return }}"> | ||
{% assign __path = '/assets/images/logo/icon-70x70.png' %} | ||
{% include snippets/prepend-baseurl.html %} | ||
<meta name="msapplication-square70x70logo" content="{{ __return }}"> | ||
<meta name="msapplication-TileColor" content="#eeeeee"> |
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 @@ | ||
{% assign __return = __path | replace:'index.html','' | prepend: site.baseurl | replace:'//','/' %} |
This file was deleted.
Oops, something went wrong.
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