style: 样式优化
parent
df18165dfc
commit
17f3063fb6
@ -1,6 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Hey, this is my blog"
|
title = "Hey, this is my blog"
|
||||||
date = 2022-08-25
|
date = 2022-08-25
|
||||||
|
draft = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Congratulations!
|
Congratulations!
|
@ -0,0 +1,11 @@
|
|||||||
|
+++
|
||||||
|
title = "Google"
|
||||||
|
date = 2022-12-08
|
||||||
|
template = "redirect.html"
|
||||||
|
draft = true
|
||||||
|
[taxonomies]
|
||||||
|
tags=["links"]
|
||||||
|
[extra]
|
||||||
|
redirect = "https://www.google.co.jp/"
|
||||||
|
+++
|
||||||
|
Google
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,24 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block main_content %}
|
{% block main_content %}
|
||||||
{{ post_macros::content(page=page)}}
|
{{ post_macros::content(page=page)}}
|
||||||
|
|
||||||
|
|
||||||
|
{# <script src="https://zzl221000.github.io/js/client.js" #}
|
||||||
|
<script src="https://giscus.vercel.app/client.js"
|
||||||
|
data-repo="zzl221000/zzl221000.github.io"
|
||||||
|
data-repo-id="MDEwOlJlcG9zaXRvcnkyMDQyODcxMjY="
|
||||||
|
data-category="Comments"
|
||||||
|
data-category-id="DIC_kwDODC0sls4CTRjL"
|
||||||
|
data-mapping="specific"
|
||||||
|
data-strict="0"
|
||||||
|
data-reactions-enabled="1"
|
||||||
|
data-emit-metadata="0"
|
||||||
|
data-input-position="top"
|
||||||
|
data-theme="light"
|
||||||
|
data-lang="zh-CN"
|
||||||
|
data-loading="lazy"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
<div class="giscus"></div>
|
||||||
{% endblock main_content %}
|
{% endblock main_content %}
|
@ -0,0 +1,22 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ page.lang | default(value="en") }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="refresh" content="1;url={{ page.extra.redirect | safe }}"/>
|
||||||
|
<link rel="canonical" href="{{ page.extra.redirect | safe }}"/>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.location.href = "{{ page.extra.redirect | safe }}"
|
||||||
|
</script>
|
||||||
|
<title>Page Redirection</title>
|
||||||
|
|
||||||
|
{# Favicon #}
|
||||||
|
{% if config.extra.favicon %}
|
||||||
|
<link rel="icon" type="image/png" href={{ config.extra.favicon }} />
|
||||||
|
{% endif %}
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href={{ get_url(path="no-style-please.css") }} />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
If you are not redirected automatically, follow <a href='{{ page.extra.redirect | safe }}'>this link</a>.
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue