docbrown/app
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
..
assets [deploy] Fix small onboarding issues (#6963) 2020-03-30 20:43:33 -04:00
black_box Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
controllers Remove POST /api/reactions endpoint (#6968) [deploy] 2020-03-31 16:12:30 +02:00
dashboards Ignore unused organizations columns (#6933) [deploy] 2020-03-30 19:00:31 +02:00
decorators Use scopes for Follow instead of where all the time (#6149) [deploy] 2020-02-25 19:29:52 -05:00
errors Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
javascript Created preact component for crayons dropdown (#6961) 2020-03-31 09:42:21 -04:00
labor show the nausea emoji when a vomit reaction is displayed (#6882) 2020-03-26 12:21:27 -05:00
lib Add pagination to tag pages for better SEO crawling (#6771) [deploy] 2020-03-27 10:34:42 -04:00
liquid_tags Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers Add a form to email users from internal (#6668) 2020-03-17 11:19:42 -04:00
models Hotness Score for Tags Should Use Article positive_reactions_count (#6808) [deploy] 2020-03-31 09:04:20 -05:00
policies Allow users to opt-out of welcome notifications (#6852) [deploy] 2020-03-26 11:26:19 -07:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
serializers Ignore unused podcast_episodes columns (#6939) [deploy] 2020-03-30 15:38:22 +02:00
services Refactor method delete_activity (#6928) 2020-03-31 11:27:52 +02:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
workers Log Elasticsearch index counts to Datadog (#6845) [deploy] 2020-03-25 15:52:54 -05:00