1
0
mirror of https://github.com/avitex/avitex.github.io synced 2025-01-15 20:39:57 +00:00

fix links and titles, gen rss

This commit is contained in:
avitex 2020-04-12 03:49:16 +10:00
parent 446a5a1d0f
commit 6dddf991f7
Signed by: avitex
GPG Key ID: 38C76CBF3749D62C
5 changed files with 8 additions and 4 deletions

View File

@ -5,6 +5,7 @@ description = "Home of avitex"
compile_sass = true compile_sass = true
highlight_code = true highlight_code = true
build_search_index = true build_search_index = true
generate_rss = true
taxonomies = [ taxonomies = [
{name = "blog/tags", rss = true}, {name = "blog/tags", rss = true},

View File

@ -1,4 +1,5 @@
+++ +++
title = "Bio"
+++ +++
Nothing here... yet Nothing here... yet

View File

@ -1,4 +1,5 @@
+++ +++
title = "Social"
+++ +++
## Identity ## Identity

View File

@ -1,6 +1,6 @@
{% macro link(url) %} {% macro link(url) %}
{%- if url is starting_with("/") or url is starting_with("./") -%} {%- if url is starting_with("/") or url is starting_with("./") -%}
{{ get_url(path=url) }} {{ get_url(path=url, trailing_slash=false) }}
{%- else -%} {%- else -%}
{{ url }} {{ url }}
{%- endif -%} {%- endif -%}

View File

@ -8,7 +8,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ get_url(path="site.css") }}" /> <link rel="stylesheet" href="{{ get_url(path="site.css") }}" />
<link rel="stylesheet" href="{{ get_url(path="fonts.min.css") }}" /> <link rel="stylesheet" href="{{ get_url(path="fonts.min.css") }}" />
<link rel="icon" type="image/png" href="{{ get_url(path="favicon.png") }}"> <link rel="icon" type="image/png" href="{{ get_url(path="favicon.png") }}" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") }}" />
<title>{% block title %}{{ config.title }}{% endblock title %}</title> <title>{% block title %}{{ config.title }}{% endblock title %}</title>
</head> </head>
<body> <body>