Skip to content

Commit

Permalink
Update template titles and meta tags from Bluesky to Mention
Browse files Browse the repository at this point in the history
  • Loading branch information
NateIsern committed Dec 19, 2024
1 parent ab4e78e commit 3ebeb93
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bskyweb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
-->
<link rel="preconnect" href="https://bsky.social">
<link rel="preconnect" href="https://bsky.network">
<title>{%- block head_title -%}Bluesky{%- endblock -%}</title>
<title>{%- block head_title -%}Mention{%- endblock -%}</title>

<!-- Hello Humans! API docs at https://atproto.com -->

Expand Down
2 changes: 1 addition & 1 deletion bskyweb/templates/error.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% block head_title %}Error {{ statusCode }} - Bluesky{% endblock %}
{% block head_title %}Error {{ statusCode }} - Mention{% endblock %}

{% block noscript_extra %}
{%- if statusCode == 404 %}
Expand Down
4 changes: 2 additions & 2 deletions bskyweb/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{% block head_title %}Bluesky{% endblock %}

{% block html_head_extra -%}
<meta property="og:title" content="Bluesky" />
<meta name="twitter:title" content="Bluesky" />
<meta property="og:title" content="Mention" />
<meta name="twitter:title" content="Mention" />

<meta name="description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." />
<meta name="og:description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." />
Expand Down
4 changes: 2 additions & 2 deletions bskyweb/templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

{% block head_title %}
{%- if postView -%}
@{{ postView.Author.Handle }} on Bluesky
@{{ postView.Author.Handle }} on Mention
{%- else -%}
Bluesky
Mention
{%- endif -%}
{% endblock %}

Expand Down
6 changes: 3 additions & 3 deletions bskyweb/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

{% block head_title %}
{%- if profileView -%}
@{{ profileView.Handle }} on Bluesky
@{{ profileView.Handle }} on Mention
{%- else -%}
Bluesky
Mention
{%- endif -%}
{% endblock %}

{% block html_head_extra -%}
{%- if profileView -%}
<meta property="og:site_name" content="Bluesky Social">
<meta property="og:site_name" content="Mention by Oxy">
<meta property="og:type" content="profile">
<meta property="profile:username" content="{{ profileView.Handle }}">
{%- if requestURI %}
Expand Down
4 changes: 2 additions & 2 deletions bskyweb/templates/starterpack.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<meta property="og:title" content="{{ title }}" />
<meta name="twitter:title" content="{{ title }}" />
{%- else -%}
<meta property="og:title" content="Bluesky" />
<meta name="twitter:title" content="Bluesky" />
<meta property="og:title" content="Mention" />
<meta name="twitter:title" content="Mention" />
{% endif -%}
<meta name="description" content="Join the conversation" />
<meta name="og:description" content="Join the conversation" />
Expand Down

0 comments on commit 3ebeb93

Please sign in to comment.