work on some files
This commit is contained in:
parent
b081b17572
commit
57fea6b215
@ -1,6 +1,6 @@
|
|||||||
root=true
|
root=true
|
||||||
[*]
|
[*]
|
||||||
charset=utf-8
|
charset=utf-8
|
||||||
end_of_line=cr
|
end_of_line=lf
|
||||||
[*.html]
|
[**.html]
|
||||||
indent_size=0
|
indent_size=0
|
||||||
|
17
config.toml
17
config.toml
@ -1,16 +1,25 @@
|
|||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://atlas48.sdf.org/"
|
base_url = "https://atlas48.sdf.org/"
|
||||||
|
|
||||||
# Whether to automatically compile all Sass files in the sass directory
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
build_search_index = true
|
build_search_index = true
|
||||||
|
title = "Atlas Cove's Blog"
|
||||||
[markdown]
|
[markdown]
|
||||||
# Whether to do syntax highlighting
|
# Whether to do syntax highlighting
|
||||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
extra_syntaxes = ["extend"]
|
||||||
|
render_emoji = true
|
||||||
|
highlight_theme = "visual-studio-dark"
|
||||||
[extra]
|
[extra]
|
||||||
# Put all your custom variables here
|
# 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"
|
||||||
|
@ -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 }} — {{ 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>
|
||||||
|
8
templates/shortcodes/style.html
Normal file
8
templates/shortcodes/style.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<style>
|
||||||
|
{% if not style %}
|
||||||
|
@import "main.css";
|
||||||
|
{% else %}
|
||||||
|
@import "{{ style }}.css";
|
||||||
|
{% endif %}
|
||||||
|
{{ body }}
|
||||||
|
<style>
|
Loading…
Reference in New Issue
Block a user