Skip to content

Commit d5d71ff

Browse files
Ivan-ShamlBrutus5000
authored andcommitted
fix(newshub): page title on SE
1 parent a6eb814 commit d5d71ff

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

public/styles/site/client-news.sass

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ body
155155
display: block
156156
margin-left: auto
157157
margin-right: auto
158-
h2
158+
span
159+
display: block
159160
font-size: 1.4vw
160161
padding: 0.5em
161162
transition: 0.4s
@@ -337,7 +338,8 @@ body
337338
display: block
338339
margin-left: auto
339340
margin-right: auto
340-
h2
341+
span
342+
display: block
341343
font-size: 18px
342344
padding: 0.25em
343345
transition: 0.4s
@@ -453,7 +455,8 @@ body
453455
.clientSupportFAF
454456
h1
455457
font-size: 18px
456-
h2
458+
span
459+
display: block
457460
font-size: 14px
458461
.clientMenu
459462
.column6, .column2

src/backend/templates/views/newshub.pug

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ html(lang='en')
66
meta(name='viewport', content='width=device-width, initial-scale=1.0')
77
meta(http-equiv='X-UA-Compatible', content='IE=edge')
88
meta(name='description', content='FAF Community Website')
9+
meta(
10+
name='description',
11+
content='Latest community news for Forged Alliance Forever.'
12+
)
13+
//— social tags to reinforce the title
14+
meta(property='og:title', content=title || 'All your FAForever News')
15+
meta(name='twitter:title', content=title || 'All your FAForever News')
916

10-
title= title || 'Forged Alliance Forever'
17+
title= title || 'All your FAForever News'
1118
link(rel='shortcut icon', href='/images/favicon.png', type='image/png')
1219

1320
// Fonts
@@ -69,7 +76,7 @@ body
6976
target='_blank',
7077
href='https://discord.com/channels/197033481883222026/907037442832482315'
7178
)
72-
h2 Report a Bug
79+
span Report a Bug
7380

7481
#clientMain
7582
#clientSpawn

0 commit comments

Comments
 (0)