docbrown/app/views
Ridhwana e74890680a
Generalize meta content and copyright year (#6887)
* chore: remove the description

* feat: change the meta og:site_name property from The Practical DEV to The <COMMUNITY_NAME> Community consistently

* refactor: change the canonical link to be more dynamic using the <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>

* refactor: update the path to be dynamic

* refactor: change some other meta properties to be dynamic

* refactor: update the index

* refactor: update the sitename to just read <%= ApplicationConfig["COMMUNITY_NAME"] %> Community

* feat: copyright year should be dynamic

* feat: change the meta og:url content to be dynamic by using <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> for the former part of the url

* feat: space

* refactor: move the copyright notice to a helper

* refactor: use the community_qualified_name helper!

* refactor: start year is already a string

* refactor: use app url helper instead of <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> everywhere

* chore:oops

* refactor: Change  <meta name="twitter:image:src" content="http://i.imgur.com/B4JNl1w.png"> to `<meta name="twitter:image:src" content="<%= SiteConfig.main_social_image %>">` consistently.

* refactor: Replace  `<meta property="og:image" content="http://i.imgur.com/B4JNl1w.png" />` with `  <meta property="og:image" content="<%= SiteConfig.main_social_image %>" />`

* chore: update some other meta's

* feat: replace 'The Practical DEV' with 'DEV Community' and

* test: remove The :)

* test: copyright_notice

* fix: syntax error

* feat: name of community

* refactor: use app url

* fix: template strings

* fix: tag

* feat: update the app url parameters

* feat: add a community_name helper so we don't have to refer to an environment variable in the templates

* feat: take into account the case when the start year is a blank string

* feat: single quotes to double quotes

* test: add a test for the #community_name

* chore: update or codeclimate

* chore: amend the community helper

* refactor: use the community_name helper in here

* feat: update ApplicationConfig["COMMUNITY_NAME"]  with community_name

* fix: Time.current.year needs to be a string :(

* chore: extra space

* chore: change to use community_qualified_name
2020-03-31 16:15:57 +02:00
..
additional_content_boxes Refactor ProfileImage (#5803) 2020-02-07 08:56:16 -05:00
admin/application Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
api/v0 Move user following suggestions to internal API (#6601) [deploy] 2020-03-13 13:37:24 +01:00
articles Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
badges Added title attribute for Badges (#5201) 2019-12-27 10:40:29 -05:00
blocks Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
chat_channels Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
classified_listings Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
comments Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
credits Add new font and theme config, plus new navbar config option (#4462) 2019-10-24 08:38:46 -04:00
dashboards Lower the minimum number of page views (#6728) 2020-03-20 10:26:59 -04:00
devise Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
doorkeeper add styling for oauth page (#4108) 2019-09-25 12:00:45 -07:00
downloads Add android and ios apps download page (#3736) (#3798) 2019-08-22 21:04:58 -04:00
email_subscriptions Fix linting issues in app/views/email_subscriptions (#1859) [ci skip] 2019-02-25 12:50:41 -05:00
events Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
feedback_messages Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
fields Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
followings Move followings to internal API (#6494) 2020-03-06 19:33:26 +01:00
github_repos [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05:00
homepage Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
html_variants Campaign settings (#6141) [deploy] 2020-02-18 11:02:09 -06:00
internal Tweak /internal/broadcast form (#6965) 2020-03-31 06:38:43 -07:00
layouts Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
liquid_embeds Fix style issues on liquid tag embed page (#6445) [deploy] 2020-03-04 10:40:34 -05:00
liquids Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers only show link to original commentable if it exists (#6810) [deploy] 2020-03-24 10:13:41 -05:00
moderations Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
notifications Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
onboardings Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
organizations Replacing theme variables (#6682) 2020-03-24 15:05:35 +01:00
pages Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
partnerships Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
podcast_episodes Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
podcasts Validate file uploads client-side (#6737) 2020-03-24 09:21:49 +01:00
pro_memberships Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
reading_list_items Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
response_templates [deploy] Add response templates to user settings (#6823) 2020-03-26 14:48:00 -04:00
service_worker Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
shared Add SRI Support (#4658) [deploy] 2019-12-06 08:35:37 -05:00
shell Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
sitemaps Update lastmod for generated sitemap (#6738) [deploy] 2020-03-19 18:59:36 -04:00
social_previews Changed shecoded preview template (#6475) 2020-03-05 18:26:28 -05:00
stories Create primary_sticker_image_url in SiteConfig (#6746) [deploy] 2020-03-23 14:55:18 -04:00
stripe_subscriptions Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
tags Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
twitch_live_streams Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
users Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
videos Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00