docbrown/public
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
..
.well-known Upgrade airbrake to 9.1.0 (#2526) 2019-04-24 11:41:16 -04:00
404.html Fix 404 page css (#6505) 2020-03-07 09:06:02 +01:00
422.html Initial commit 2018-02-28 16:11:08 -05:00
500.html Migrate to streaming app shell via serviceworkers (#5020) [deploy] 2019-12-16 12:21:33 -05:00
503.html Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
ahrefs_1f6d9c5eee7265ac24482a2d70a1bf091346f16d6f5e2e4c9c934af6ebf9d431 Modify sample_application.yml and write test (#456) 2018-06-19 19:06:22 -04:00
apple-app-site-association Add Apple deep link page (#1075) 2018-11-06 13:03:04 -05:00
catmeme.png Optimise images (#2966) 2019-05-30 17:37:10 -04:00
favicon.ico Update Service Worker and Favicon (#3142) 2019-06-13 11:39:03 -04:00
google7c0286fae6fe45be.html Initial commit 2018-02-28 16:11:08 -05:00
google78d33e39533e3e7f.html Initial commit 2018-02-28 16:11:08 -05:00
maintenance.html resolves mixed content warning on maintenance.html (#983) 2018-10-23 12:42:11 -04:00
offline.html Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
search.xml Initial commit 2018-02-28 16:11:08 -05:00
tinymcestyles.css Initial commit 2018-02-28 16:11:08 -05:00