File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ baseurl: ""
66url : " https://csswizardry.com"
77future : true
88cloudinary : " https://res.cloudinary.com/csswizardry/image/fetch/f_auto,q_auto/https://csswizardry.com"
9+ markdown_source_base : " https://raw.githubusercontent.com/csswizardry/csswizardry.github.com/refs/heads/master/"
910
1011# Build settings
1112markdown : kramdown
Original file line number Diff line number Diff line change 99
1010 < h1 elementtiming =page-title > {{ page.title }}</ h1 >
1111
12+ {% assign markdown_source = site.markdown_source_base | append: page.path %}
13+ < p class =hide > < a href ="{{ markdown_source }} "> View this page as Markdown.</ a > </ p >
14+
1215 {{ content }}
1316
1417 < script > performance . mark ( 'contentEnd' ) </ script >
Original file line number Diff line number Diff line change 1212
1313 < h1 elementtiming ="page-title "> {{ page.title }}</ h1 >
1414
15+ {% assign markdown_source = site.markdown_source_base | append: page.path %}
16+ < p class =hide > < a href ="{{ markdown_source }} "> View this page as Markdown.</ a > </ p >
17+
1518 {{ content }}
1619
1720 < script > performance . mark ( 'contentEnd' ) </ script >
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ <h1 itemprop="name headline" elementtiming=page-title style="view-transition-na
2828
2929 < p class =hide > Written by < b itemprop =author > Harry Roberts</ b > on < b itemprop =publisher > CSS Wizardry</ b > .</ p >
3030
31+ {% assign markdown_source = site.markdown_source_base | append: page.path %}
32+ < p class =hide > < a href ="{{ markdown_source }} "> View this page as Markdown.</ a > </ p >
33+
3134 {% if page.case-study != true %}
3235
3336 {% endif %}
You can’t perform that action at this time.
0 commit comments