work on some files

This commit is contained in:
Atlas Cove 2022-05-11 20:28:32 +01:00
parent b081b17572
commit 57fea6b215
4 changed files with 50 additions and 7 deletions

View File

@ -1,6 +1,6 @@
root=true
[*]
charset=utf-8
end_of_line=cr
[*.html]
end_of_line=lf
[**.html]
indent_size=0

View File

@ -1,16 +1,25 @@
# The URL the site will be built for
base_url = "https://atlas48.sdf.org/"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
title = "Atlas Cove's Blog"
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
extra_syntaxes = ["extend"]
render_emoji = true
highlight_theme = "visual-studio-dark"
[extra]
# Put all your custom variables here
[[extra.links]]
name = "Blog Home"
link = "/"
[[extra.links]]
name = "Docstore"
link = "https://atlas48.neocities.org/"
[[extra.links]]
name = "Social Media"
link = "https://atlas48.neocities.org/links.html"

View File

@ -1 +1,27 @@
{%- import "macros.html" as m -%} <!DOCTYPE html> <html> <head> <meta charset="utf-8"> {% if title in page %} <title>{{ page.title }}</title> {% else %} <title>{{ extra.name }} &mdash; {{ extra.description }}</title> {% endif %} {% if site.highlighter %} <link rel="stylesheet" href="{{ site.url }}/assets/css/syntax.css" type="text/css" /> {% endif %} <link rel="stylesheet" href="/main.css" type="text/css" /> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> {% block content %} {{ page.content }} {% endblock %} </body> </html>
{# Welcome to the main page! #}
<!DOCTYPE html>
<html>
<head>
<title>{{ config.title }}</title>
{% style() %}
h1 { size:5em; }
{% end %}
</head>
<body>
<div class="head">
<h1>{{ config.title }}</h1>
{%- for i in config.extra.links %}
<a href="{{ i.href }}">{{ i.title }}</a>
{%- endfor -%}
<hr />
</div>
<img href="images/av.png" />
<h1>Atlas48</h1>
<p>{# TODO: add "about me" section #}</p>
<ol id="posts">
{% for page in paginator.pages %}
<li><a href="{{ page.permalink }}">{{ post_macros::title(page=page) }}</a></li>
{% endfor %}
</ol>
</body>
</html>

View File

@ -0,0 +1,8 @@
<style>
{% if not style %}
@import "main.css";
{% else %}
@import "{{ style }}.css";
{% endif %}
{{ body }}
<style>