Skip to content

Commit

Permalink
metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed May 27, 2024
1 parent 9e770d4 commit 4bc5c69
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
{% set pageOrSubsection = section -%}
{% endif -%}

{%- set title = "OpenDream DM Reference" -%}
{%- if pageOrSubsection.path != "/" -%}
{%- endif -%}

<!DOCTYPE html>
<html lang="en">

Expand All @@ -16,7 +20,14 @@
<script src="{{ get_url(path='index.js') | safe }}"></script>

<meta name="viewport" content="width=device-width, initial-scale=1" />


<meta property="og:title" content="{{pageOrSubsection.title}}" />
<meta property="og:site_name" content="OpenDream DM Reference" />
<meta property="og:url" content="{{pageOrSubsection.permalink | safe}}" />
<meta property="og:image" content="{{ get_url(path='favicon.png') | safe }}">
<meta property="og:description" content="{{ pageOrSubsection.content | striptags | truncate(length=38) }}">


<link rel="stylesheet" href="{{ get_url(path='index.css') | safe }}">

<link rel="icon" href="{{ get_url(path='favicon.svg') | safe }}">
Expand Down

0 comments on commit 4bc5c69

Please sign in to comment.