Updated templates meta tags
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title><%= info.title %> - Error <%= error %></title>
|
|
||||||
<%- include('head'); %>
|
<%- include('head'); %>
|
||||||
|
<title><%= info.title %> - Error <%= error %></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
@@ -1,21 +1,26 @@
|
|||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
|
||||||
|
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<%- `<meta property="og:description" content="${info.description}">` %>
|
||||||
|
<%- `<meta property="twitter:description" content="${info.description}">` %>
|
||||||
<% if(locals.article){ %>
|
<% if(locals.article){ %>
|
||||||
|
<%- `<meta property="org:url" content="${info.host + article.url}">` %>
|
||||||
<%- `<meta property="og:title" content="${info.title} - ${article.title}">` %>
|
<%- `<meta property="og:title" content="${info.title} - ${article.title}">` %>
|
||||||
<%- `<meta property="twitter:title" content="${info.title} - ${article.title}">` %>
|
<%- `<meta property="twitter:title" content="${info.title} - ${article.title}">` %>
|
||||||
<%- `<meta property="og:description" content="${info.description}">` %>
|
|
||||||
<%- `<meta property="twitter:description" content="${info.description}">` %>
|
|
||||||
<%- `<meta property="org:url" content="${info.host + article.url}">` %>
|
|
||||||
<% if (article.thumbnail) { %>
|
<% if (article.thumbnail) { %>
|
||||||
<%- `<meta property="og:image" content="${info.host}/${article.thumbnail}">` %>
|
<%- `<meta property="og:image" content="${info.host}/${article.thumbnail}">` %>
|
||||||
<%- `<meta property="twitter:image" content="${info.host}/${article.thumbnail}">` %>
|
<%- `<meta property="twitter:image" content="${info.host}/${article.thumbnail}">` %>
|
||||||
<% } %>
|
<% } %>
|
||||||
<link rel="stylesheet" type="text/css" href="/prism.css">
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/prism.css">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
|
<%- `<meta property="org:url" content="${info.host}/">` %>
|
||||||
<%- `<meta property="og:title" content="${info.title} - Home">` %>
|
<%- `<meta property="og:title" content="${info.title} - Home">` %>
|
||||||
<%- `<meta property="twitter:title" content="${info.title} - Home">` %>
|
<%- `<meta property="twitter:title" content="${info.title} - Home">` %>
|
||||||
<%- `<meta property="og:description" content="${info.description}">` %>
|
|
||||||
<%- `<meta property="twitter:description" content="${info.description}">` %>
|
<%- `<meta property="description" content="${info.description}">` %>
|
||||||
<%- `<meta property="org:url" content="${info.host}/">` %>
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="/rss"/>
|
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="/rss"/>
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title><%= info.title %> - Home</title>
|
|
||||||
<%- include('head'); %>
|
<%- include('head'); %>
|
||||||
|
<title><%= info.title %> - Home</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title><%= info.title %> - <%= article.title %></title>
|
|
||||||
<%- include('head'); %>
|
<%- include('head'); %>
|
||||||
|
<title><%= info.title %> - <%= article.title %></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main class="article">
|
<main class="article">
|
||||||
|
|||||||
Reference in New Issue
Block a user