Skip to content

Commit

Permalink
chore: update meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 16, 2025
1 parent 032dc80 commit 38cd4bb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
15 changes: 15 additions & 0 deletions lib/ash_hq_web/templates/layout/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@
<script defer data-domain="ash-hq.org" src="https://plausible.io/js/plausible.js">
</script>
<% end %>

<meta property="og:type" content="text/html" />
<meta property="og:image" content="https://ash-hq.org/images/ash-logo-side.png" />
<meta property="og:url" content={to_string(@uri)} />
<meta property="og:site_name" content="Ash HQ" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="ash-hq.org" />
<meta property="twitter:site" content="@AshFramework" />
<!-- Need to adjust this for future blog writers -->
<meta property="twitter:creator" content="@ZachSDaniel1" />

<%= if @live_action not in [:docs_dsl, :blog, :forum] do %>
<meta property="og:title" content="Ash Framework" />
<meta property="og:description" content="Model your domain, derive the rest." />
<% end %>
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/assets/app.css")} />
<script async defer src="https://buttons.github.io/buttons.js">
</script>
Expand Down
5 changes: 1 addition & 4 deletions lib/ash_hq_web/views/app_view_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ defmodule AshHqWeb.AppViewLive do
<%= if @live_action not in [:docs_dsl, :blog, :forum] do %>
<meta property="og:title" content="Ash Framework" />
<meta
property="og:description"
content="A declarative foundation for ambitious Elixir applications. Model your domain, derive the rest."
/>
<meta property="og:description" content="Model your domain, derive the rest." />
<% end %>
</head>
<.live_component
Expand Down

0 comments on commit 38cd4bb

Please sign in to comment.