Tom Hughes
8a9dbc94c8
Update rubocop todo and fix new warnings
2021-09-14 20:40:36 +01:00
Andy Allan
2559226be3
Avoid various uses of html_safe
...
We can avoid using `html_safe` in various circumstances, through alternative approaches like i18n keys ending in `_html` or using `safe_join` to avoid converting via unsafe string types.
The `_html` keys approach only work for ActionView helper version of `t`, not the base `I18n.t` method.
2020-10-21 15:43:14 +02:00
Andy Allan
1b181d4c1d
Put specific page titles at the start
...
The makes the shortened titles commonly shown on browser tabs more
useful.
2017-11-22 14:57:26 +00:00
Tom Hughes
34c473f503
Use only_path instead of setting an explicit host
2016-11-24 20:33:36 +00:00
Tom Hughes
1309661b15
Use image_url instead of image_path with the host option
...
Fixes #1379
2016-11-24 20:23:42 +00:00
Tom Hughes
243129b671
Add og:description to OpenGraph tags
2015-10-27 12:02:13 +00:00
Tom Hughes
c8640c8f82
Add og:url to OpenGraph tags
2015-10-27 12:01:58 +00:00
Tom Hughes
18d26c0d81
Use PNG logo for og:image
2015-10-27 12:01:44 +00:00
Tom Hughes
e62e879b3b
Add more detail to OpenGraph tags
...
Closes #1073
2015-10-26 22:27:21 +00:00