Convert to HTML
All checks were successful
ci/woodpecker/push/woodpecker.exo Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker.exo Pipeline was successful
This commit is contained in:
parent
86f31ef348
commit
ba97c0cd21
7 changed files with 23 additions and 26 deletions
|
@ -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
|
||||
|
||||
root * src
|
||||
try_files {path}.xhtml {path}.html {path} {path}/
|
||||
try_files {path}.html {path} {path}/
|
||||
file_server {
|
||||
index index.xhtml index.html
|
||||
index index.html
|
||||
}
|
||||
|
||||
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';
|
||||
"
|
||||
|
||||
@xhtml path / /*.xhtml
|
||||
header @xhtml Content-Type "application/xhtml+xml; utf-8"
|
||||
|
||||
@indexjsonld {
|
||||
path /
|
||||
header Accept *application/ld+json*
|
||||
|
@ -84,7 +81,7 @@ object-src 'none';
|
|||
}
|
||||
|
||||
templates {
|
||||
mime "application/xhtml+xml" "application/json"
|
||||
mime "text/html" "application/json"
|
||||
}
|
||||
|
||||
header /keys/gpg-0xD8045B91-bin.asc Content-Type application/octet-stream
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: About" }}
|
||||
<link rel="stylesheet" href="/about.css" />
|
||||
|
@ -10,12 +10,12 @@
|
|||
<img src="avatar.webp" alt="xtex's avatar" />
|
||||
<div>
|
||||
<h1>xtex</h1>
|
||||
<p lang="zh-CN" xml:lang="zh-CN">碳基的,一个人</p>
|
||||
<p lang="en-US" xml:lang="en-US">A Carbon-Based Humanoid Entity</p>
|
||||
<p lang="zh-CN">碳基的,一个人</p>
|
||||
<p lang="en-US">A Carbon-Based Humanoid Entity</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="double-col">
|
||||
<div lang="zh-CN" xml:lang="zh-CN">
|
||||
<div lang="zh-CN">
|
||||
<h2 class="larger-h2">
|
||||
简体中文(<code title="Mandarin Chinese (ISO 936-3)"
|
||||
>cmn</code
|
||||
|
@ -23,7 +23,7 @@
|
|||
</h2>
|
||||
{{ include "gen/about-cmn-noid.html" }}
|
||||
</div>
|
||||
<div lang="en-US" xml:lang="en-US">
|
||||
<div lang="en-US">
|
||||
<h2 class="larger-h2">
|
||||
English (<code title="English (ISO 936-3)">eng</code>)
|
||||
</h2>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home" }}
|
||||
<link rel="stylesheet" href="/index.css" />
|
||||
|
@ -9,17 +9,17 @@
|
|||
<main>
|
||||
<header>
|
||||
<h1>xtex</h1>
|
||||
<p lang="zh-CN" xml:lang="zh-CN">碳基的,一个人</p>
|
||||
<p lang="en-US" xml:lang="en-US">
|
||||
<p lang="zh-CN">碳基的,一个人</p>
|
||||
<p lang="en-US">
|
||||
A Carbon-Based Humanoid Entity
|
||||
</p>
|
||||
</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="/keys">密钥</a></li>
|
||||
<li><a href="https://blog.xtexx.eu.org/">博客</a></li>
|
||||
</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="/keys">Keys</a></li>
|
||||
<li><a href="https://blog.xtexx.eu.org/">Blog</a></li>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cmn">
|
||||
<!DOCTYPE html>
|
||||
<html lang="cmn">
|
||||
<head>
|
||||
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Indie Auth" }}
|
||||
<link href="https://github.com/xtexChooser" rel="me" />
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
{{ import "/includes/head.html" }} {{ template "head" "xtex's Home :: Keys" }}
|
||||
<link rel="stylesheet" href="/index.css" />
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ import "/includes/head.html" }}
|
||||
<!-- -->
|
|
@ -8,7 +8,7 @@
|
|||
"links": [
|
||||
{
|
||||
"rel": "http://webfinger.net/rel/profile-page",
|
||||
"type": "application/xhtml+xml",
|
||||
"type": "text/html",
|
||||
"href": "https://xtexx.eu.org/"
|
||||
},
|
||||
{
|
||||
|
@ -18,7 +18,7 @@
|
|||
},
|
||||
{
|
||||
"rel": "about",
|
||||
"type": "application/xhtml+xml",
|
||||
"type": "text/html",
|
||||
"href": "https://xtexx.eu.org/"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue