mirror of
https://github.com/minoplhy/minima-dark.git
synced 2024-12-22 18:18:16 +00:00
sync
This commit is contained in:
parent
a32b776f95
commit
8587c3aab8
@ -1,6 +0,0 @@
|
|||||||
{% comment %}
|
|
||||||
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
|
|
||||||
|
|
||||||
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
|
|
||||||
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
|
|
||||||
{% endcomment %}
|
|
@ -1,20 +0,0 @@
|
|||||||
{%- if page.comments != false and jekyll.environment == "production" -%}
|
|
||||||
|
|
||||||
<div id="disqus_thread"></div>
|
|
||||||
<script>
|
|
||||||
var disqus_config = function () {
|
|
||||||
this.page.url = '{{ page.url | absolute_url }}';
|
|
||||||
this.page.identifier = '{{ page.url | absolute_url }}';
|
|
||||||
};
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var d = document, s = d.createElement('script');
|
|
||||||
|
|
||||||
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
|
||||||
|
|
||||||
s.setAttribute('data-timestamp', +new Date());
|
|
||||||
(d.head || d.body).appendChild(s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
|
||||||
{%- endif -%}
|
|
@ -1,37 +0,0 @@
|
|||||||
<footer class="site-footer h-card">
|
|
||||||
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
|
|
||||||
<div class="footer-col-wrapper">
|
|
||||||
<div class="footer-col">
|
|
||||||
<p class="feed-subscribe">
|
|
||||||
<a href="{{ 'feed.xml' | relative_url }}">
|
|
||||||
<svg class="svg-icon orange">
|
|
||||||
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
|
|
||||||
</svg><span>Subscribe</span>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
{%- if site.author %}
|
|
||||||
<ul class="contact-list">
|
|
||||||
{% if site.author.name -%}
|
|
||||||
<li class="p-name">{{ site.author.name | escape }}</li>
|
|
||||||
{% endif -%}
|
|
||||||
{% if site.author.email -%}
|
|
||||||
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
|
|
||||||
{%- endif %}
|
|
||||||
</ul>
|
|
||||||
{%- endif %}
|
|
||||||
</div>
|
|
||||||
<div class="footer-col">
|
|
||||||
<p>{{ site.description | escape }}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="social-links">
|
|
||||||
{%- include social.html -%}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</footer>
|
|
@ -1,9 +0,0 @@
|
|||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
|
||||||
<script>
|
|
||||||
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', '{{ site.google_analytics }}');
|
|
||||||
</script>
|
|
@ -1,14 +0,0 @@
|
|||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
{%- seo -%}
|
|
||||||
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
|
||||||
{%- feed_meta -%}
|
|
||||||
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
|
||||||
{%- include google-analytics.html -%}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
{%- include custom-head.html -%}
|
|
||||||
|
|
||||||
</head>
|
|
@ -1,31 +0,0 @@
|
|||||||
<header class="site-header">
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
{%- assign default_paths = site.pages | map: "path" -%}
|
|
||||||
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
|
||||||
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
|
||||||
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
|
||||||
|
|
||||||
{%- if titles_size > 0 -%}
|
|
||||||
<nav class="site-nav">
|
|
||||||
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
|
||||||
<label for="nav-trigger">
|
|
||||||
<span class="menu-icon">
|
|
||||||
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
|
||||||
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<div class="trigger">
|
|
||||||
{%- for path in page_paths -%}
|
|
||||||
{%- assign my_page = site.pages | where: "path", path | first -%}
|
|
||||||
{%- if my_page.title -%}
|
|
||||||
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
|
||||||
{%- endif -%}
|
|
||||||
{%- endfor -%}
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
{%- endif -%}
|
|
||||||
</div>
|
|
||||||
</header>
|
|
@ -1,21 +0,0 @@
|
|||||||
{%- assign social = site.minima.social_links -%}
|
|
||||||
|
|
||||||
<ul class="social-media-list">
|
|
||||||
{%- for glb in social.gitlab -%}{%- if glb.username and glb.instance -%}<li><a rel="me" href="https://{{ glb.instance | cgi_escape | escape}}/{{glb.username}}" title="{{ glb.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#gitlab' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
|
||||||
{%- if social.dribbble -%}<li><a rel="me" href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.facebook -%}<li><a rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.flickr -%}<li><a rel="me" href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.github -%}<li><a rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.stackoverflow -%}<li><a rel="me" href="https://stackoverflow.com/users/{{ social.stackoverflow | cgi_escape | escape }}" title="{{ social.stackoverflow | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#stackoverflow' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.instagram -%}<li><a rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.linkedin -%}<li><a rel="me" href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.pinterest -%}<li><a rel="me" href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
|
||||||
{%- if social.twitter -%}<li><a rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.youtube -%}<li><a rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.youtube_channel -%}<li><a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.telegram -%}<li><a rel="me" href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#keybase' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
{%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#devto' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
|
||||||
</ul>
|
|
Loading…
Reference in New Issue
Block a user