1
1
Fork 0

Convert to HTML
All checks were successful
ci/woodpecker/push/woodpecker.exo Pipeline was successful

This commit is contained in:
xtex 2024-07-22 15:13:26 +08:00
parent 86f31ef348
commit ba97c0cd21
Signed by: xtex
GPG key ID: B918086ED8045B91
7 changed files with 23 additions and 26 deletions

View file

@ -51,9 +51,9 @@ http://:8080 http://xtexx.eu.org http://xtexhome.exozy.me {
bind unix/{$UDS_DIR:.}/xtexhome{$UDS_SUFFIX:.sock}|0777 tcp/localhost bind unix/{$UDS_DIR:.}/xtexhome{$UDS_SUFFIX:.sock}|0777 tcp/localhost
root * src root * src
try_files {path}.xhtml {path}.html {path} {path}/ try_files {path}.html {path} {path}/
file_server { file_server {
index index.xhtml index.html index index.html
} }
redir /blog/* https://blog.xtexx.eu.org/misc/migration-to-home/ permanent redir /blog/* https://blog.xtexx.eu.org/misc/migration-to-home/ permanent
@ -71,9 +71,6 @@ style-src 'self' https://unpkg.com;
object-src 'none'; object-src 'none';
" "
@xhtml path / /*.xhtml
header @xhtml Content-Type "application/xhtml+xml; utf-8"
@indexjsonld { @indexjsonld {
path / path /
header Accept *application/ld+json* header Accept *application/ld+json*
@ -84,7 +81,7 @@ object-src 'none';
} }
templates { templates {
mime "application/xhtml+xml" "application/json" mime "text/html" "application/json"
} }
header /keys/gpg-0xD8045B91-bin.asc Content-Type application/octet-stream header /keys/gpg-0xD8045B91-bin.asc Content-Type application/octet-stream

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh"> <html lang="zh">
<head> <head>
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: About" }} {{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: About" }}
<link rel="stylesheet" href="/about.css" /> <link rel="stylesheet" href="/about.css" />
@ -10,12 +10,12 @@
<img src="avatar.webp" alt="xtex's avatar" /> <img src="avatar.webp" alt="xtex's avatar" />
<div> <div>
<h1>xtex</h1> <h1>xtex</h1>
<p lang="zh-CN" xml:lang="zh-CN">碳基的,一个人</p> <p lang="zh-CN">碳基的,一个人</p>
<p lang="en-US" xml:lang="en-US">A Carbon-Based Humanoid Entity</p> <p lang="en-US">A Carbon-Based Humanoid Entity</p>
</div> </div>
</header> </header>
<div class="double-col"> <div class="double-col">
<div lang="zh-CN" xml:lang="zh-CN"> <div lang="zh-CN">
<h2 class="larger-h2"> <h2 class="larger-h2">
简体中文(<code title="Mandarin Chinese (ISO 936-3)" 简体中文(<code title="Mandarin Chinese (ISO 936-3)"
>cmn</code >cmn</code
@ -23,7 +23,7 @@
</h2> </h2>
{{ include "gen/about-cmn-noid.html" }} {{ include "gen/about-cmn-noid.html" }}
</div> </div>
<div lang="en-US" xml:lang="en-US"> <div lang="en-US">
<h2 class="larger-h2"> <h2 class="larger-h2">
English (<code title="English (ISO 936-3)">eng</code>) English (<code title="English (ISO 936-3)">eng</code>)
</h2> </h2>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh"> <html lang="zh">
<head> <head>
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home" }} {{ import "/includes/head.html" }} {{ template "head" "xtex's Home" }}
<link rel="stylesheet" href="/index.css" /> <link rel="stylesheet" href="/index.css" />
@ -9,17 +9,17 @@
<main> <main>
<header> <header>
<h1>xtex</h1> <h1>xtex</h1>
<p lang="zh-CN" xml:lang="zh-CN">碳基的,一个人</p> <p lang="zh-CN">碳基的,一个人</p>
<p lang="en-US" xml:lang="en-US"> <p lang="en-US">
A Carbon-Based Humanoid Entity A Carbon-Based Humanoid Entity
</p> </p>
</header> </header>
<ul class="hlist" lang="zh-CN" xml:lang="zh-CN"> <ul class="hlist" lang="zh-CN">
<li><a href="/about">关于</a></li> <li><a href="/about">关于</a></li>
<li><a href="/keys">密钥</a></li> <li><a href="/keys">密钥</a></li>
<li><a href="https://blog.xtexx.eu.org/">博客</a></li> <li><a href="https://blog.xtexx.eu.org/">博客</a></li>
</ul> </ul>
<ul class="hlist" lang="en-US" xml:lang="en-US"> <ul class="hlist" lang="en-US">
<li><a href="/about">About</a></li> <li><a href="/about">About</a></li>
<li><a href="/keys">Keys</a></li> <li><a href="/keys">Keys</a></li>
<li><a href="https://blog.xtexx.eu.org/">Blog</a></li> <li><a href="https://blog.xtexx.eu.org/">Blog</a></li>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cmn"> <html lang="cmn">
<head> <head>
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Indie Auth" }} {{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Indie Auth" }}
<link href="https://github.com/xtexChooser" rel="me" /> <link href="https://github.com/xtexChooser" rel="me" />

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> <html lang="en-US">
<head> <head>
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Keys" }} {{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Keys" }}
<link rel="stylesheet" href="/index.css" /> <link rel="stylesheet" href="/index.css" />

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <html lang="en">
<head> <head>
{{ import "/includes/head.html" }} {{ import "/includes/head.html" }}
<!-- --> <!-- -->

View file

@ -8,7 +8,7 @@
"links": [ "links": [
{ {
"rel": "http://webfinger.net/rel/profile-page", "rel": "http://webfinger.net/rel/profile-page",
"type": "application/xhtml+xml", "type": "text/html",
"href": "https://xtexx.eu.org/" "href": "https://xtexx.eu.org/"
}, },
{ {
@ -18,7 +18,7 @@
}, },
{ {
"rel": "about", "rel": "about",
"type": "application/xhtml+xml", "type": "text/html",
"href": "https://xtexx.eu.org/" "href": "https://xtexx.eu.org/"
}, },
{ {