-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added description metadata, image width/height
- Loading branch information
Showing
3 changed files
with
301 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>UF Open Source Club | <%= locals.title %></title> | ||
<link rel="icon" type="image/x-icon" href="/assets/favicon.png" /> | ||
<link rel="stylesheet" href="/css/common.css" /> | ||
<link rel="stylesheet" href="/css/article.css" /> | ||
<script src="/js/navbar.js" defer async></script> | ||
</head> | ||
<body> | ||
<%- include('./components/navbar.ejs') %> | ||
<section id="article-section"> | ||
<% if (locals.previewImg) { %> | ||
<div id="banner"><img src="<%= previewImg %>" alt="<%= title %>"></div> | ||
<% } %> | ||
<div id="article-content"> | ||
<h1 id="article-title"><%= title %></h1> | ||
<div id="date-author"> | ||
<h3>Date: <%= date.toLocaleDateString('en-us', { month: "long", day: "numeric", year: "numeric" }) %></h3> | ||
<% if (locals.author) { %> | ||
<h3>Author: <% for(var i=0; i < author.length; i++) { %> | ||
<%= author[i] %> | ||
<% } %> | ||
</h3> | ||
<% } %> | ||
</div> | ||
<% if (locals.subtitle) { %> | ||
<h2 id="article-subheading"> | ||
<%- subtitle %> | ||
</h2> | ||
<% } %> | ||
<% if (locals.content) { %> | ||
<p id="article-body"> | ||
<%- content %> | ||
</p> | ||
<% } %> | ||
</div> | ||
</section> | ||
<%- include('./components/footer.ejs') %> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="keywords" | ||
content="University of Florida, UF, OSC, Open Source, | ||
Computer Science, Data Science, Programming" | ||
> | ||
<title>UF Open Source Club | <%= locals.title %></title> | ||
<link rel="icon" type="image/x-icon" href="/assets/favicon.png" /> | ||
<link rel="stylesheet" href="/css/common.css" /> | ||
<link rel="stylesheet" href="/css/article.css" /> | ||
<script src="/js/navbar.js" defer async></script> | ||
</head> | ||
<body> | ||
<%- include('./components/navbar.ejs') %> | ||
<section id="article-section"> | ||
<% if (locals.previewImg) { %> | ||
<div id="banner"><img src="<%= previewImg %>" alt="<%= title %>"></div> | ||
<% } %> | ||
<div id="article-content"> | ||
<h1 id="article-title"><%= title %></h1> | ||
<div id="date-author"> | ||
<h3>Date: <%= date.toLocaleDateString('en-us', { month: "long", day: "numeric", year: "numeric" }) %></h3> | ||
<% if (locals.author) { %> | ||
<h3>Author: <% for(var i=0; i < author.length; i++) { %> | ||
<%= author[i] %> | ||
<% } %> | ||
</h3> | ||
<% } %> | ||
</div> | ||
<% if (locals.subtitle) { %> | ||
<h2 id="article-subheading"> | ||
<%- subtitle %> | ||
</h2> | ||
<% } %> | ||
<% if (locals.content) { %> | ||
<p id="article-body"> | ||
<%- content %> | ||
</p> | ||
<% } %> | ||
</div> | ||
</section> | ||
<%- include('./components/footer.ejs') %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.