Browse Source

Add meta description

master
Sean King 1 month ago
parent
commit
3fbad762d9
Signed by: seanking GPG Key ID: 778810DE76B9460F
2 changed files with 4 additions and 1 deletions
  1. +3
    -1
      config/config.exs
  2. +1
    -0
      lib/fuck_gab_web/templates/layout/app.html.eex

+ 3
- 1
config/config.exs View File

@ -14,7 +14,9 @@ config :fuck_gab, :site,
"You may be here because you're sick of Gab's shit. Well, no worries. You're not the only one.
And there are plenty of alternatives to Gab out there because there's this amazing thing called the fediverse.
Here's a list of some alternatives on the fediverse that you can try out.",
display: true
display: true,
content_short:
"Sick of Gab's shit? There's plenty of alternatives to Gab on the fediverse. Find an alternative fediverse instance right for you here."
},
brand_color: "ce2121",
footer_nav_items: [

+ 1
- 0
lib/fuck_gab_web/templates/layout/app.html.eex View File

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= csrf_meta_tag() %>
<title><%= @header_title %></title>
<meta name="description" content="<%= @site_description[:content_short] || @site_description[:content] %>" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<style id="theme" type="text/css">

Loading…
Cancel
Save