diff options
Diffstat (limited to 'templates/community.md.erb')
| -rw-r--r-- | templates/community.md.erb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb index d8fc74e..c2f6bab 100644 --- a/templates/community.md.erb +++ b/templates/community.md.erb @@ -13,6 +13,14 @@ | 45-54 | <%= self[:male_45_54] %> | <%= self[:fem_45_54] %> | <%= self[:other_45_54] %> | | | <%= self[:male_cnt] %> | <%= self[:female_cnt] %> | <%= self[:other_cnt] %> | -[homepage]: https://www.calgary.ca/communities/profiles/<%= name.parameterize %>.html -[profile]: https://www.calgary.ca/content/dam/www/csps/cns/documents/community_social_statistics/community-profiles/<%= name.parameterize %>.pdf -[projection]: https://www.calgary.ca/content/dam/www/csps/cns/documents/community_social_statistics/<%= name.parameterize %>-pp.pdf + +<object data="<%= profile_url %>" type="application/pdf" width="700px" height="700px"> + <embed src="<%= profile_url %>"> + <p><a href="<%= profile_url %>">Download PDF</a>.</p> + </embed> +</object> + + +[homepage]: <%= homepage_url %> +[profile]: <%= profile_url %> +[projection]: <%= projection_url %> |
