diff options
Diffstat (limited to 'src/pyssg/plt')
-rw-r--r-- | src/pyssg/plt/index.html | 6 | ||||
-rw-r--r-- | src/pyssg/plt/page.html | 4 | ||||
-rw-r--r-- | src/pyssg/plt/rss.xml | 18 | ||||
-rw-r--r-- | src/pyssg/plt/sitemap.xml | 2 | ||||
-rw-r--r-- | src/pyssg/plt/tag.html | 4 |
5 files changed, 17 insertions, 17 deletions
diff --git a/src/pyssg/plt/index.html b/src/pyssg/plt/index.html index c96db3b..e06efdb 100644 --- a/src/pyssg/plt/index.html +++ b/src/pyssg/plt/index.html @@ -2,11 +2,11 @@ <html lang="en"> <head> <meta charset="utf-8"> - <base href="{{site_base_static_url}}"> - <title>Index -- {{site_title}}</title> + <base href="{{config.static_url}}"> + <title>Index -- {{config.title}}</title> </head> <body> - <h1>Index -- {{site_title}}</h1> + <h1>Index -- {{config.title}}</h1> <p>Some text here.</p> <p>Tags: diff --git a/src/pyssg/plt/page.html b/src/pyssg/plt/page.html index fefaaa6..2fc3943 100644 --- a/src/pyssg/plt/page.html +++ b/src/pyssg/plt/page.html @@ -2,8 +2,8 @@ <html lang="{{page.lang}}"> <head> <meta charset="utf-8"> - <base href="{{site_base_static_url}}"> - <title>{{page.title}} -- {{site_title}}</title> + <base href="{{config.static_url}}"> + <title>{{page.title}} -- {{config.title}}</title> </head> <body> <h1>{{page.title}}</h1> diff --git a/src/pyssg/plt/rss.xml b/src/pyssg/plt/rss.xml index 0426580..42020d7 100644 --- a/src/pyssg/plt/rss.xml +++ b/src/pyssg/plt/rss.xml @@ -3,24 +3,24 @@ xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> - <title>{{site_title}}</title> - <link>{{site_base_url}}</link> - <atom:link href="{{site_base_url}}/rss.xml" rel="self" type="application/rss+xml"/> + <title>{{config.title}}</title> + <link>{{config.url}}</link> + <atom:link href="{{config.url}}/rss.xml" rel="self" type="application/rss+xml"/> <description>Short site description.</description> <language>en-us</language> <category>Blog</category> <copyright>Copyright 2021 Somebody</copyright> <managingEditor>some@one.com (Sombody)</managingEditor> <webMaster>some@one.com (Sombody)</webMaster> - <pubDate>{{run_date}}</pubDate> - <lastBuildDate>{{run_date}}</lastBuildDate> - <generator>pyssg v{{pyssg_version}}</generator> + <pubDate>{{config.run_date_rss}}</pubDate> + <lastBuildDate>{{run_date_rss}}</lastBuildDate> + <generator>pyssg v{{config.version}}</generator> <docs>https://validator.w3.org/feed/docs/rss2.html</docs> <ttl>30</ttl> <image> - <url>{{site_base_static_url}}/images/blog.png</url> - <title>{{site_title}}</title> - <link>{{site_base_url}}</link> + <url>{{config.static_url}}/images/blog.png</url> + <title>{{config.title}}</title> + <link>{{config.url}}</link> </image> {%for p in all_pages%} <item> diff --git a/src/pyssg/plt/sitemap.xml b/src/pyssg/plt/sitemap.xml index a5b5404..26ee5c1 100644 --- a/src/pyssg/plt/sitemap.xml +++ b/src/pyssg/plt/sitemap.xml @@ -14,7 +14,7 @@ {%for t in all_tags%} <url> <loc>{{t[1]}}</loc> - <lastmod>{{run_date}}</lastmod> + <lastmod>{{config.run_date_sitemap}}</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> diff --git a/src/pyssg/plt/tag.html b/src/pyssg/plt/tag.html index 2fdc27b..d856ce4 100644 --- a/src/pyssg/plt/tag.html +++ b/src/pyssg/plt/tag.html @@ -2,8 +2,8 @@ <html lang="en"> <head> <meta charset="utf-8"> - <base href="{{site_base_static_url}}"> - <title>Posts filtered by {{tag[0]}} -- {{site_title}}</title> + <base href="{{config.static_url}}"> + <title>Posts filtered by {{tag[0]}} -- {{config.title}}</title> </head> <body> <h1>Posts filtered by {{tag[0]}}</h1> |