initial commit
This commit is contained in:
65
_layouts/default.html
Normal file
65
_layouts/default.html
Normal file
@ -0,0 +1,65 @@
|
||||
{% case site.color-scheme %}
|
||||
{% when "", nil, false, 0, empty %}
|
||||
{% assign ColorScheme = "auto" %}
|
||||
{% else %}
|
||||
{% assign ColorScheme = site.color-scheme %}
|
||||
{% endcase %}
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.lang | default: "en-US" }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="{{ "/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", ColorScheme | append: site.build_revision | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.build_revision | relative_url }}">
|
||||
|
||||
<link rel="preload" href="{{site.logo | relative_url}}" as="image">
|
||||
{% include head-custom.html %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<div class="sidebar">
|
||||
<header>
|
||||
{% if site.logo %}
|
||||
<img class="img-circle" src="{{site.logo | relative_url}}" alt="Logo">
|
||||
{% endif %}
|
||||
|
||||
{% if site.blank_title %}
|
||||
<h1>{{ site.title | default: null }}</h1>
|
||||
{% else %}
|
||||
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: null }}</a></h1>
|
||||
{% endif %}
|
||||
|
||||
{% if site.email %}
|
||||
<p class="addr"><img src = "../assets/icons/svg/envelope-square.svg" width="25" height="25" viewBox="0 -5 1000 1000" preserveAspectRatio="xMidYMid meet" alt="mail"/> {{ site.email }}</p>
|
||||
{% endif %}
|
||||
|
||||
<p>{{ site.description | default: null }}</p>
|
||||
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
||||
</header>
|
||||
|
||||
{% include links-mobile.html %}
|
||||
|
||||
<div class="sidebar-footer">
|
||||
{%- include footer.html -%}
|
||||
</div>
|
||||
</div>
|
||||
<section>
|
||||
|
||||
{{ content }}
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
{%- include footer.html -%}
|
||||
</footer>
|
||||
</div>
|
||||
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
|
||||
</body>
|
||||
</html>
|
14
_layouts/post.html
Normal file
14
_layouts/post.html
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<small>{{ page.date | date: "%-d %B %Y" }}</small>
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
<p class="view">by {{ page.author | default: site.author }}</p>
|
||||
|
||||
{{content}}
|
||||
|
||||
{% if page.tags %}
|
||||
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
|
||||
{% endif %}
|
Reference in New Issue
Block a user