fix: set explicit robots meta, Twitter Card tags, and WebP favicon
Adds <meta name='robots'>, twitter:card/title/description meta tags, and WebP favicon reference to the root layout. Fixes title duplication (TowerOps | TowerOps -> Home | TowerOps) by passing page_title from the page controller. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
62af9991af
commit
1ce1738fc5
2 changed files with 15 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
content="TowerOps — Operational intelligence for WISP and ISP operators. Connect network monitoring to subscriber impact and revenue."
|
||||
/>
|
||||
<meta name="theme-color" content="#2563eb" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:type" content="website" />
|
||||
|
|
@ -22,8 +23,20 @@
|
|||
content="The only platform that connects network monitoring to subscriber impact and revenue. Built for WISP and ISP operators."
|
||||
/>
|
||||
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta
|
||||
name="twitter:title"
|
||||
content="TowerOps — See the Business Impact of Every Network Event"
|
||||
/>
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="The only platform that connects network monitoring to subscriber impact and revenue. Built for WISP and ISP operators."
|
||||
/>
|
||||
|
||||
<!-- Favicon -->
|
||||
<link id="favicon" rel="icon" type="image/png" href={~p"/images/towerops_logo.png"} />
|
||||
<link id="favicon" rel="icon" type="image/webp" href={~p"/images/towerops_logo.webp"} />
|
||||
<link rel="icon" type="image/png" href={~p"/images/towerops_logo.png"} />
|
||||
<link rel="apple-touch-icon" href={~p"/images/towerops_logo.png"} />
|
||||
|
||||
<.live_title suffix=" | TowerOps">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ defmodule ToweropsWeb.PageController do
|
|||
if conn.assigns.current_scope && conn.assigns.current_scope.user do
|
||||
redirect(conn, to: ~p"/dashboard")
|
||||
else
|
||||
render(conn, :home, layout: false)
|
||||
render(conn, :home, layout: false, page_title: "Home")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue