mirror of
https://github.com/minoplhy/minima-dark.git
synced 2024-11-14 15:47:10 +00:00
sync
This commit is contained in:
parent
369533ed6a
commit
456420ce2d
@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
||||
|
||||
{%- include head.html -%}
|
||||
|
||||
<body>
|
||||
|
||||
{%- include header.html -%}
|
||||
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="wrapper">
|
||||
{{ content }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{%- include footer.html -%}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,14 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title | escape }}</h1>
|
||||
</header>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
</article>
|
@ -1,38 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
||||
<p class="post-meta">
|
||||
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
||||
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
||||
{{ page.date | date: date_format }}
|
||||
</time>
|
||||
{%- if page.modified_date -%}
|
||||
~
|
||||
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
|
||||
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
||||
{{ mdate | date: date_format }}
|
||||
</time>
|
||||
{%- endif -%}
|
||||
{%- if page.author -%}
|
||||
• {% for author in page.author %}
|
||||
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
||||
{%- if forloop.last == false %}, {% endif -%}
|
||||
{% endfor %}
|
||||
{%- endif -%}</p>
|
||||
</header>
|
||||
|
||||
<div class="post-content e-content" itemprop="articleBody">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
{%- if site.disqus.shortname -%}
|
||||
{%- include disqus_comments.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
||||
</article>
|
@ -1 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
||||
|
||||
{%- include head.html -%}
|
||||
|
||||
<body>
|
||||
|
||||
{%- include header.html -%}
|
||||
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="wrapper">
|
||||
{{ content }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{%- include footer.html -%}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -1,5 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title | escape }}</h1>
|
||||
</header>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
@ -1,5 +1,38 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
||||
<p class="post-meta">
|
||||
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
||||
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
||||
{{ page.date | date: date_format }}
|
||||
</time>
|
||||
{%- if page.modified_date -%}
|
||||
~
|
||||
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
|
||||
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
||||
{{ mdate | date: date_format }}
|
||||
</time>
|
||||
{%- endif -%}
|
||||
{%- if page.author -%}
|
||||
• {% for author in page.author %}
|
||||
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
||||
{%- if forloop.last == false %}, {% endif -%}
|
||||
{% endfor %}
|
||||
{%- endif -%}</p>
|
||||
</header>
|
||||
|
||||
<div class="post-content e-content" itemprop="articleBody">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
{%- if site.disqus.shortname -%}
|
||||
{%- include disqus_comments.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
||||
</article>
|
||||
|
@ -43,8 +43,8 @@ $on-large: $on-laptop !default;
|
||||
|
||||
// Import pre-styling-overrides hook and style-partials.
|
||||
@import
|
||||
"minima/custom-variables", // Hook to override predefined variables.
|
||||
"minima/base", // Defines element resets.
|
||||
"minima/layout", // Defines structure and style based on CSS selectors.
|
||||
"minima/custom-styles" // Hook to override existing styles.
|
||||
"minima-dark/custom-variables", // Hook to override predefined variables.
|
||||
"minima-dark/base", // Defines element resets.
|
||||
"minima-dark/layout", // Defines structure and style based on CSS selectors.
|
||||
"minima-dark/custom-styles" // Hook to override existing styles.
|
||||
;
|
||||
|
@ -3,5 +3,5 @@
|
||||
---
|
||||
|
||||
@import
|
||||
"minima/skins/{{ site.minima.skin | default: 'dark' }}",
|
||||
"minima/initialize";
|
||||
"minima-dark/skins/{{ site.minima.skin | default: 'dark' }}",
|
||||
"minima-dark/initialize";
|
||||
|
@ -6,8 +6,8 @@ Gem::Specification.new do |spec|
|
||||
spec.authors = ["minoplhy"]
|
||||
spec.email = ["zebr@m21.kylz.nl"]
|
||||
|
||||
spec.summary = "TODO: Write a short summary, because Rubygems requires one."
|
||||
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
||||
spec.summary = "just test"
|
||||
spec.homepage = "https://kylz.nl/git/kale/minima-dark"
|
||||
spec.license = "MIT"
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) }
|
||||
|
Loading…
Reference in New Issue
Block a user