File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ description: >- # this means to ignore newlines until "baseurl:"
1515discourse_url : https://cwl.discourse.group/
1616github_url : https://github.com/common-workflow-language/
1717gitter_url : https://gitter.im/common-workflow-language/common-workflow-language
18+ matrix_url : https://matrix.to/#/#common-workflow-language_common-workflow-language:gitter.im
1819twitter_url : https://twitter.com/commonwl
1920youtube_url : https://www.youtube.com/c/CommonWLorgStandard/
2021
@@ -31,6 +32,8 @@ social:
3132locale : en_US
3233# google_site_verification:
3334
35+ # google_analytics:
36+
3437show_excerpts : false # set to true to show excerpts on the homepage
3538
3639kramdown :
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ title: CWL Local Site
22url : " cwl.test" # the base hostname & protocol for your site, e.g. http://example.com
33baseurl : " /"
44port : 80
5+ staging_site : true
Original file line number Diff line number Diff line change 11title : CWL Staging Site
22url : " https://deploy-preview-75--cwl-website.netlify.app"
3+ staging_site : true
Original file line number Diff line number Diff line change 55 < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 ">
66 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
77 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8-
9- {%- if ( site.url != 'commonwl.org') and (site.url != 'www.commonwl.org') -%}
8+ <!-- site.staging_site: {{ site.staging_site }} -->
9+ {%- if site.staging_site -%}
1010 < meta name ="robots " content ="noindex " />
1111 {%- endif -%}
1212 < link rel ="sitemap " type ="application/xml " title ="Sitemap " href ={{ "/sitemap.xml" | relative_url }}>
2525 < link rel ="stylesheet " href ="https://pro.fontawesome.com/releases/v5.15.3/css/all.css " integrity ="sha384-iKbFRxucmOHIcpWdX9NTZ5WETOPm0Goy0WmfyNcl52qSYtc2Buk0NCe6jU1sWWNB " crossorigin ="anonymous ">
2626 < link rel ="stylesheet " href ="{{ "/style.css" | relative_url }}">
2727
28- {%-if (site.url == 'commonwl.org') or ( site.url == 'www.commonwl.org') -%}
29- {%- include google-analytics.html -%}
30- {%-endif -%}
28+ {%- if (site.url contains 'commonwl.org' and site.google_analytics -%}
29+ {%- include google-analytics.html -%}
30+ {%- endif -%}
3131
3232 {%- comment -%}
3333 {%- if jekyll.environment == 'production' and site.google_analytics -%}
You can’t perform that action at this time.
0 commit comments