mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-10 04:09:11 -06:00
Reformat default.html liquid
This commit is contained in:
@@ -5,35 +5,36 @@ layout: compress
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="preload" as="style" href="/assets/main.css">
|
||||
<link rel="stylesheet" href="/assets/main.css">
|
||||
<meta content="width=device-width" name="viewport">
|
||||
<link as="style" href="/assets/main.css" rel="preload">
|
||||
<link href="/assets/main.css" rel="stylesheet">
|
||||
<!-- <link rel="stylesheet" href="/assets/print.css" media="print">-->
|
||||
<link rel="stylesheet" href="/assets/rouge.css">
|
||||
<link href="/assets/rouge.css" rel="stylesheet">
|
||||
<title>
|
||||
{%- if page.title %}
|
||||
{{- page.title -}}{{- " " -}}|{{- " " -}}
|
||||
{%- endif -%}
|
||||
{{- site.title -}}
|
||||
</title>
|
||||
<link rel="preload" as="font" crossorigin href="/assets/fonts/-cmunrm.woff2">
|
||||
<link rel="preload" as="font" crossorigin href="/assets/fonts/-cmuntt.woff2">
|
||||
<link rel="preload" as="font" crossorigin href="/assets/fonts/-cmunti.woff2">
|
||||
<link rel="alternate" type="application/atom+xml" href="/feed.xml">
|
||||
<link as="font" crossorigin href="/assets/fonts/-cmunrm.woff2" rel="preload">
|
||||
<link as="font" crossorigin href="/assets/fonts/-cmuntt.woff2" rel="preload">
|
||||
<link as="font" crossorigin href="/assets/fonts/-cmunti.woff2" rel="preload">
|
||||
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
|
||||
{% if page.date -%}
|
||||
<meta property="og:type" content="website">
|
||||
<meta content="website" property="og:type">
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta name="twitter:title" content="{{ page.title }}">
|
||||
{% if page._preview_description -%}
|
||||
<meta property="og:description" content="{{ page._preview_description }}">
|
||||
<meta property="twitter:description" content="{{ page._preview_description }}">
|
||||
{% endif -%}{%- if page._preview_image -%}
|
||||
{% endif -%}
|
||||
{%- if page._preview_image -%}
|
||||
<meta property="og:image" content="{{ page._preview_image | absolute_url }}">
|
||||
<meta name="twitter:image" content="{{ page._preview_image | absolute_url }}">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta content="summary_large_image" name="twitter:card">
|
||||
{%- else -%}
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta content="summary" name="twitter:card">
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
||||
<!-- Hide site using inline styling until CSS loads -->
|
||||
@@ -52,8 +53,10 @@ layout: compress
|
||||
<body>
|
||||
<header>Ryan Walters</header>
|
||||
<nav>
|
||||
<a href="/">~/</a> :
|
||||
<a href="/about/">~/about/</a> :
|
||||
<a href="/">~/</a>
|
||||
:
|
||||
<a href="/about/">~/about/</a>
|
||||
:
|
||||
<a href="/projects/">~/projects/</a>
|
||||
</nav>
|
||||
{% if page.hide_header or layout.hide_header %}
|
||||
@@ -76,7 +79,8 @@ layout: compress
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<p><i>
|
||||
<p>
|
||||
<i>
|
||||
<a href="{{ page.url }}">
|
||||
<time datetime="{{ page.date | date: '%Y-%m-%dT%H:%M:%SZ' }}">
|
||||
{{- page.date | date: '%Y-%m-%d %H:%M %Z' -}}
|
||||
@@ -97,11 +101,12 @@ layout: compress
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.medium_zoom %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.6/dist/medium-zoom.min.js"
|
||||
integrity="sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM=" crossorigin="anonymous"></script>
|
||||
<script crossorigin="anonymous" integrity="sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM=" src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.6/dist/medium-zoom.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
mediumZoom('[data-zoomable]', {background: "#0e0e0e"})
|
||||
mediumZoom("[data-zoomable]", {background: "#0e0e0e"})
|
||||
</script>
|
||||
{% endif %}
|
||||
</p>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user