mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
layout: extract common head parts
This commit is contained in:
parent
8a4088c51b
commit
34e8c93c98
2 changed files with 9 additions and 9 deletions
|
|
@ -1,16 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="<%= page.lang || 'en' %>">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
<%- include('partials/head-common') %>
|
||||
|
||||
<title>
|
||||
<%= page.title || site.title %>
|
||||
</title>
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
|
||||
<link rel="stylesheet" href="/css/typography.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap">
|
||||
<%- include('partials/head-fonts') %>
|
||||
</head>
|
||||
<body>
|
||||
<%- body %>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="<%= page.lang || 'en' %>">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
<%- include('partials/head-common') %>
|
||||
|
||||
<title>
|
||||
<%= page.title + ' / ' + site.title %>
|
||||
</title>
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
|
||||
<link rel="stylesheet" href="/css/typography.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap">
|
||||
<%- include('partials/head-fonts') %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<%= page.section %></a></li>
|
||||
<% } %>
|
||||
<% if (page.year) { %>
|
||||
<li><a href="/post/list#<%= page.year %>">
|
||||
<li><a href="/post/list/#<%= page.year %>">
|
||||
<%= page.year %></a></li>
|
||||
<% } %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue