refacto: full rewrite of theme with catppuccin guidelines + colors
This commit is contained in:
parent
e3f68348cb
commit
ea79a6fbf6
21 changed files with 4387 additions and 1301 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="/custom.css">
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
|
||||
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
|
||||
|
||||
|
|
@ -11,11 +11,12 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
{% block content %} {% endblock %}
|
||||
</div>
|
||||
</section>
|
||||
<header></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
{% block content %} {% endblock %}
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -5,5 +5,4 @@
|
|||
This is my blog made with Zola.
|
||||
</h1>
|
||||
<p><a href="{{ get_url(path='@/blog/_index.md') }}">Posts</a>.</p>
|
||||
<p><a href="{{ get_url(path='@/test/_index.md') }}">Test</a>.</p>
|
||||
{% endblock content %}
|
||||
|
|
@ -1,9 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||
{{ page.content | safe }}
|
||||
<article>
|
||||
<section class=title>
|
||||
<h1 class=title>{{ page.title }}</h1>
|
||||
<p class=subtitle>{{ page.date }}</p>
|
||||
</section>
|
||||
<section>
|
||||
{{ page.content | safe }}
|
||||
</section>
|
||||
</article>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue