~magentix/stapy-theme-dusk

28eb6cedb3cb7e91eef67489df12c8c55fe7f1db — magentix 3 years ago 07dee1f
StaPy 1.6 compatibility
17 files changed, 58 insertions(+), 55 deletions(-)

R source/{web/css/style.css => assets/css/style.css}
R source/{web/favicon.ico => assets/favicon.ico}
R source/{web/media/wave.jpg => assets/media/wave.jpg}
R source/{web/robots.txt => assets/robots.txt}
M source/json/404.html.json
M source/json/about.html.json
D source/json/article.html.json
M source/json/articles.html.json
A source/json/blog/article-1.html.json
A source/json/blog/article-2.html.json
A source/json/blog/article-3.html.json
R source/json/{default.json => default/html.json}
M source/json/index.html.json
M source/page/articles.html
R source/page/{article.html => blog/article.html}
A source/template/block/article.html
M source/template/block/head.html
R source/web/css/style.css => source/assets/css/style.css +2 -1
@@ 39,7 39,7 @@ h2, h3, h4 {
}

h2 {
    font-size: 1.85rem;
    font-size: 1.75rem;
}

h3 {


@@ 108,6 108,7 @@ blockquote {

img {
    max-width: 100%;
    height: 100%;
    margin: 1.5rem auto;
    display: block;
}

R source/web/favicon.ico => source/assets/favicon.ico +0 -0
R source/web/media/wave.jpg => source/assets/media/wave.jpg +0 -0
R source/web/robots.txt => source/assets/robots.txt +0 -0
M source/json/404.html.json => source/json/404.html.json +2 -2
@@ 1,6 1,6 @@
{
  "title": "Page not found",
  "description": "The requested URL was not found on this server",
  "meta_title": "Page not found",
  "meta_description": "The requested URL was not found on this server",
  "content": "page/404.html",
  "robots": "noindex,nofollow"
}
\ No newline at end of file

M source/json/about.html.json => source/json/about.html.json +2 -2
@@ 1,5 1,5 @@
{
  "title": "Dusk - About",
  "description": "A simple and minimal theme made with StaPy",
  "meta_title": "Dusk - About",
  "meta_description": "A simple and minimal theme made with StaPy",
  "content": "page/about.html"
}
\ No newline at end of file

D source/json/article.html.json => source/json/article.html.json +0 -5
@@ 1,5 0,0 @@
{
  "title": "Dusk - Article",
  "description": "A simple and minimal theme made with StaPy",
  "content": "page/article.html"
}
\ No newline at end of file

M source/json/articles.html.json => source/json/articles.html.json +4 -3
@@ 1,5 1,6 @@
{
  "title": "Dusk - Articles",
  "description": "A simple and minimal theme made with StaPy",
  "content": "page/articles.html"
  "meta_title": "Dusk - Articles",
  "meta_description": "A simple and minimal theme made with StaPy",
  "content": "page/articles.html",
  "article": "template/block/article.html"
}
\ No newline at end of file

A source/json/blog/article-1.html.json => source/json/blog/article-1.html.json +9 -0
@@ 0,0 1,9 @@
{
  "meta_title": "Arctic - Article",
  "meta_description": "A simple and minimal theme for StaPy",
  "title": "At asperiores dolores hic molestias",
  "date": "2021-04-06",
  "author": "Magentix",
  "intro": "Quo magnam mollitia ea odit amet. Eos iste itaque sed consequatur dolor ut saepe omnis sed maiores excepturi in voluptatem nihil.",
  "content": "page/blog/article.html"
}
\ No newline at end of file

A source/json/blog/article-2.html.json => source/json/blog/article-2.html.json +9 -0
@@ 0,0 1,9 @@
{
  "meta_title": "Arctic - Article",
  "meta_description": "A simple and minimal theme for StaPy",
  "title": "Qui voluptates consequatur eos reprehenderit",
  "date": "2021-04-02",
  "author": "Magentix",
  "intro": "Dolore qui aliquam eius aut voluptatem dolor. Eos molestias molestiae et quibusdam amet quo pariatur deleniti aut nostrum iure eos explicabo voluptate.",
  "content": "page/blog/article.html"
}
\ No newline at end of file

A source/json/blog/article-3.html.json => source/json/blog/article-3.html.json +9 -0
@@ 0,0 1,9 @@
{
  "meta_title": "Arctic - Article",
  "meta_description": "A simple and minimal theme for StaPy",
  "title": "Lorem ipsum dolor sit amet",
  "date": "2021-03-26",
  "author": "Magentix",
  "intro": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",
  "content": "page/blog/article.html"
}
\ No newline at end of file

R source/json/default.json => source/json/default/html.json +0 -0
M source/json/index.html.json => source/json/index.html.json +2 -2
@@ 1,5 1,5 @@
{
  "title": "Dusk - Home",
  "description": "A simple and minimal theme for StaPy",
  "meta_title": "Dusk - Home",
  "meta_description": "A simple and minimal theme for StaPy",
  "content": "page/index.html"
}
\ No newline at end of file

M source/page/articles.html => source/page/articles.html +3 -33
@@ 1,37 1,7 @@
<h2>Articles</h2>

<article>
    <p>
        <a href="{{ url }}article.html">At asperiores dolores hic molestias</a>
    </p>
    <p>
        <em>2021-04-06 by Magentix</em>
    </p>
    <p>
        Quo magnam mollitia ea odit amet. Eos iste itaque sed consequatur dolor ut saepe omnis sed maiores excepturi in voluptatem nihil.
    </p>
</article>
{% article + blog/article-1.html %}

<article>
    <p>
        <a href="{{ url }}article.html">Qui voluptates consequatur eos reprehenderit</a>
    </p>
    <p>
        <em>2021-04-02 by Magentix</em>
    </p>
    <p>
        Dolore qui aliquam eius aut voluptatem dolor. Eos molestias molestiae et quibusdam amet quo pariatur deleniti aut nostrum iure eos explicabo voluptate.
    </p>
</article>
{% article + blog/article-2.html %}

<article>
    <p>
        <a href="{{ url }}article.html">Lorem ipsum dolor sit amet</a>
    </p>
    <p>
        <em>2021-03-26 by Magentix</em>
    </p>
    <p>
        Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    </p>
</article>
\ No newline at end of file
{% article + blog/article-3.html %}
\ No newline at end of file

R source/page/article.html => source/page/blog/article.html +5 -5
@@ 1,19 1,19 @@
<p>
    <a href="{{ url }}articles.html">Articles</a> : At asperiores dolores hic molestias
    <a href="{{ url }}articles.html">Articles</a> : {{ title }}
</p>

<h2>At asperiores dolores hic molestias</h2>
<h2>{{ title }}</h2>

<article>
    <p>
        <em>2021-04-06 by Magentix</em>
        <em>{{ date }} by {{ author }}</em>
    </p>
    <p>
        Quo magnam mollitia ea odit amet. Eos iste itaque sed consequatur dolor ut saepe omnis sed maiores excepturi in voluptatem nihil.
        {{ intro }}
    </p>
</article>

<img src="{{ url }}media/wave.jpg" alt="Wave" />
<img src="{{ url }}media/wave.jpg" alt="Wave" width="800" height="249" />

<p>
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A source/template/block/article.html => source/template/block/article.html +9 -0
@@ 0,0 1,9 @@
<article>
    <p><a href="{{ url }}{{ $_path }}">{{ $title }}</a></p>
    <p>
        <em>{{ $date }} by {{ $author }}</em>
    </p>
    <p>
        {{ $intro }}
    </p>
</article>
\ No newline at end of file

M source/template/block/head.html => source/template/block/head.html +2 -2
@@ 1,6 1,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<meta name="description" content="{{ description }}" />
<title>{{ meta_title }}</title>
<meta name="description" content="{{ meta_description }}" />
<link rel="stylesheet" href="{{ url }}css/style.css" />
<meta name="robots" content="{{ robots }}" />
\ No newline at end of file