-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
9 changed files
with
203 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: "Debug, ignore" | ||
description: "Debug, ignore" | ||
locale: la | ||
linguam: lat | ||
permalink: /debug | ||
|
||
published: false | ||
sitemap: | ||
exclude: yes | ||
--- | ||
|
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,3 +1,10 @@ | ||
--- | ||
layout: null | ||
permalink: /robots.txt | ||
sitemap: | ||
exclude: yes | ||
--- | ||
|
||
# 2021-05-08 (draft) | ||
|
||
User-agent: * | ||
|
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 |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
layout: null | ||
permalink: /sitemap.html | ||
sitemap: | ||
exclude: 'yes' | ||
|
||
# See http://www.independent-software.com/generating-a-sitemap-xml-with-jekyll-without-a-plugin.html | ||
--- | ||
|
||
<!doctype html> | ||
<html lang="la"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"> | ||
<title>Sitemap</title> | ||
</head> | ||
|
||
<body> | ||
<header> | ||
<div class="container"> | ||
<h1>Sitemap</h1> | ||
</div> | ||
</header> | ||
<main> | ||
<div class="container"> | ||
<h2>Pages</h2> | ||
<ul> | ||
{% for post in site.pages %} | ||
<li> | ||
<a href="{{ post.url }}">{{ post.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<h2>Categories</h2> | ||
<ul> | ||
{% for category in site.pages %} | ||
<li> | ||
<a href="{{ post.url }}">{{ post.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<pre> | ||
{{ site.categories | json }} | ||
</pre> | ||
|
||
<h2>sitemal.xml draft</h2> | ||
<pre><code> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
{% for post in site.posts %} | ||
{% unless post.published == false %} | ||
<url> | ||
<loc>{{ site.url }}{{ post.url }}</loc> | ||
{% if post.sitemap.lastmod %} | ||
<lastmod>{{ post.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod> | ||
{% elsif post.date %} | ||
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod> | ||
{% else %} | ||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> | ||
{% endif %} | ||
{% if post.sitemap.changefreq %} | ||
<changefreq>{{ post.sitemap.changefreq }}</changefreq> | ||
{% else %} | ||
<changefreq>monthly</changefreq> | ||
{% endif %} | ||
{% if post.sitemap.priority %} | ||
<priority>{{ post.sitemap.priority }}</priority> | ||
{% else %} | ||
<priority>0.5</priority> | ||
{% endif %} | ||
</url> | ||
{% endunless %} | ||
{% endfor %} | ||
{% for page in site.pages %} | ||
{% unless page.sitemap.exclude == "yes" or page.name == "feed.xml" %} | ||
<url> | ||
<loc>{{ site.url }}{{ page.url | remove: "index.html" }}</loc> | ||
{% if page.sitemap.lastmod %} | ||
<lastmod>{{ page.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod> | ||
{% elsif page.date %} | ||
<lastmod>{{ page.date | date_to_xmlschema }}</lastmod> | ||
{% else %} | ||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> | ||
{% endif %} | ||
{% if page.sitemap.changefreq %} | ||
<changefreq>{{ page.sitemap.changefreq }}</changefreq> | ||
{% else %} | ||
<changefreq>monthly</changefreq> | ||
{% endif %} | ||
{% if page.sitemap.priority %} | ||
<priority>{{ page.sitemap.priority }}</priority> | ||
{% else %} | ||
<priority>0.3</priority> | ||
{% endif %} | ||
</url> | ||
{% endunless %} | ||
{% endfor %} | ||
</code></urlset> | ||
</pre> | ||
</div> | ||
</main> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" | ||
crossorigin="anonymous"></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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
layout: null | ||
permalink: /sitemap.xml | ||
sitemap: | ||
exclude: 'yes' | ||
|
||
# See http://www.independent-software.com/generating-a-sitemap-xml-with-jekyll-without-a-plugin.html | ||
|
||
# NOTE: this is a draft (Emerson Rocha, 2021-05-14 16:06 UTC) | ||
--- | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
{% for post in site.posts %} | ||
{% unless post.published == false %} | ||
<url> | ||
<loc>{{ site.url }}{{ post.url }}</loc> | ||
{% if post.sitemap.lastmod %} | ||
<lastmod>{{ post.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod> | ||
{% elsif post.date %} | ||
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod> | ||
{% else %} | ||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> | ||
{% endif %} | ||
{% if post.sitemap.changefreq %} | ||
<changefreq>{{ post.sitemap.changefreq }}</changefreq> | ||
{% else %} | ||
<changefreq>monthly</changefreq> | ||
{% endif %} | ||
{% if post.sitemap.priority %} | ||
<priority>{{ post.sitemap.priority }}</priority> | ||
{% else %} | ||
<priority>0.5</priority> | ||
{% endif %} | ||
</url> | ||
{% endunless %} | ||
{% endfor %} | ||
{% for page in site.pages %} | ||
{% unless page.sitemap.exclude == "yes" or page.name == "feed.xml" %} | ||
<url> | ||
<loc>{{ site.url }}{{ page.url | remove: "index.html" }}</loc> | ||
{% if page.sitemap.lastmod %} | ||
<lastmod>{{ page.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod> | ||
{% elsif page.date %} | ||
<lastmod>{{ page.date | date_to_xmlschema }}</lastmod> | ||
{% else %} | ||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> | ||
{% endif %} | ||
{% if page.sitemap.changefreq %} | ||
<changefreq>{{ page.sitemap.changefreq }}</changefreq> | ||
{% else %} | ||
<changefreq>monthly</changefreq> | ||
{% endif %} | ||
{% if page.sitemap.priority %} | ||
<priority>{{ page.sitemap.priority }}</priority> | ||
{% else %} | ||
<priority>0.3</priority> | ||
{% endif %} | ||
</url> | ||
{% endunless %} | ||
{% endfor %} | ||
</urlset> |