-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from gr-im/some-fixes
Some fixes
- Loading branch information
Showing
4 changed files
with
51 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
{%- if article_title -%} | ||
{%- set dash = " - " -%} | ||
{%- set page_title = article_title -%} | ||
{%- elseif title -%} | ||
{%- set dash = " - " -%} | ||
{%- set page_title = title -%} | ||
{%- else -%} | ||
{%- set dash = "" -%} | ||
{%- set page_title = "" -%} | ||
{%- endif %} | ||
{% if article_description -%} | ||
{%- set page_description = article_description -%} | ||
{%- elseif description -%} | ||
{%- set page_description = description -%} | ||
{%- else -%} | ||
{%- set page_description = "XHTMLBoy's website" -%} | ||
{%- if article_title -%} {%- set dash = " - " -%} {%- set page_title = | ||
article_title -%} {%- elseif title -%} {%- set dash = " - " -%} {%- set | ||
page_title = title -%} {%- else -%} {%- set dash = "" -%} {%- set page_title = | ||
"" -%} {%- endif %} {% if article_description -%} {%- set page_description = | ||
article_description -%} {%- elseif description -%} {%- set page_description = | ||
description -%} {%- else -%} {%- set page_description = "XHTMLBoy's website" -%} | ||
{%- endif -%} | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title> | ||
XHTMLBoy's website{{ dash }}{{ page_title }} | ||
</title> | ||
<meta name="description" content="{{ page_description }}"> | ||
<link href="/css/fonts.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="/css/hl.css"> | ||
<link href="/css/style.css" rel="stylesheet"> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>XHTMLBoy's website{{ dash }}{{ page_title }}</title> | ||
<meta name="description" content="{{ page_description }}" /> | ||
<link href="/css/fonts.css" rel="stylesheet" /> | ||
<link rel="stylesheet" href="/css/hl.css" /> | ||
<link href="/css/style.css" rel="stylesheet" /> | ||
<script src="/js/hl.js"></script> | ||
<link rel="alternate" type="application/rss+xml" href="/feed.xml" title="RSSBoy"> | ||
<link | ||
rel="alternate" | ||
type="application/rss+xml" | ||
href="/feed.xml" | ||
title="RSSBoy" | ||
/> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>XHTMLBoy's Website</h1> | ||
<blockquote> | ||
You are on a website dedicated to the enthusiasts of | ||
(valid) <strong>XHTML</strong>, and of <strong>beautiful | ||
mechanics</strong>. | ||
You are on a website dedicated to the enthusiasts of (valid) | ||
<strong>XHTML</strong>, and of <strong>beautiful mechanics</strong>. | ||
</blockquote> | ||
</header> | ||
<main> | ||
{%- autoescape false -%} | ||
{{ body }} | ||
{% endautoescape -%} | ||
</main> | ||
<main>{%- autoescape false -%} {{ body }} {% endautoescape -%}</main> | ||
<footer> | ||
<a href="https://github.com/xhtmlboi/yocaml">Powered by <strong>YOCaml</strong></a> | ||
(snif, WordPress was definitively a better name) | ||
<br /> | ||
<a class="valid" href="https://validator.w3.org/check?uri=https%3A%2F%2Fxhtmlboi.github.io&charset=%28detect+automatically%29&doctype=Inline&group=0">HTML5</a> | ||
<a class="valid" href="https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Fxhtmlboi.github.io%2Fcss%2Fstyle.css&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en">CSS3</a> | ||
<a href="https://github.com/xhtmlboi/yocaml" | ||
>Powered by <strong>YOCaml</strong></a | ||
> | ||
(snif, WordPress was definitively a better name) | ||
<br> | ||
<a | ||
class="valid" | ||
href="https://validator.w3.org/check?uri=https%3A%2F%2Fxhtmlboi.github.io&charset=%28detect+automatically%29&doctype=Inline&group=0" | ||
>HTML5</a | ||
> | ||
<a | ||
class="valid" | ||
href="https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Fxhtmlboi.github.io%2Fcss%2Fstyle.css&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en" | ||
>CSS3</a | ||
> | ||
</footer> | ||
<script>hljs.highlightAll();</script> | ||
<script> | ||
hljs.highlightAll(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters