Skip to content

Commit

Permalink
Remove default embed description
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Apr 19, 2024
1 parent 9fd2ce0 commit 146f252
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ defaults:
values:
mod_name: Requiem
mod_slug: requiem
-
scope:
path: "wiki/cardinal-components-api"
values:
mod_name: Cardinal Components API
mod_slug: cardinal-components-api

responsive_image:
template: _includes/responsive_image.liquid
Expand Down
3 changes: 2 additions & 1 deletion public/_includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

{%- unless og_img %}{% assign og_img = "/img/colored-ladysnake-icon.png" %}{% endunless -%}
{%- unless og_img_alt %}{% assign og_img_alt = "Ladysnake Logo" %}{% endunless -%}
{%- unless meta_desc %}{% assign meta_desc = "Home of a small group of developers called Ladysnake" %}{% endunless -%}

<head>
<meta http-equiv="content-type" content="text/html">
Expand Down Expand Up @@ -37,10 +36,12 @@
<meta property="og:title" content="{{ full_title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ site.url }}{{ site.baseurl }}" />
{% if meta_desc %}
<meta property="og:image" content="{{ site.url }}{{ site.baseurl }}{{ og_img }}" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="{{ og_img_alt }}" />
<meta property="og:description" content="{{ meta_desc }}" />
{% endif %}
</head>
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
layout: default
og:
desc: "Home of a small group of developers called Ladysnake"
---

<hgroup>
Expand Down
4 changes: 2 additions & 2 deletions public/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Your Settings
layout: default
og:
img: /img/configuration-icon.svg
desc: Your preferences on this website
img: /img/configuration-icon.svg
desc: Your preferences on this website
---

<h1>Website Settings</h1>
Expand Down
6 changes: 3 additions & 3 deletions public/tools/parlour.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
- /wiki/blabber/dialogue_generator/graph-view.html
- /wiki/blabber/dialogue_generator/main-view.html
og:
img: /img/blabber.png
img_alt: blabber logo
desc: Online editor for blabber dialogues
img: /img/blabber.png
img_alt: blabber logo
desc: Online editor for blabber dialogues
---
<noscript>
<nav aria-label="breadcrumb">
Expand Down

0 comments on commit 146f252

Please sign in to comment.