File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {%- capture edit_link -%}{% github_edit_link "source" %}{%- endcapture -%}
2- {%- if page.paginated and paginator.page > 1 -%}
3- {%- assign first_page = site.pages | where_exp: 'p','p.paginated == true' | sort: 'path' | first -%}
4- {%- assign edit_link = edit_link | replace: page.path, first_page.path -%}
5- {%- endif -%}
1+ {%- unless site.remote_theme -%}
2+ {%- capture edit_link -%}{% github_edit_link "source" %}{%- endcapture -%}
3+
4+ {%- if page.paginated and paginator.page > 1 -%}
5+ {%- assign first_page = site.pages | where_exp: 'p','p.paginated == true' | sort: 'path' | first -%}
6+ {%- assign edit_link = edit_link | replace: page.path, first_page.path -%}
7+ {%- endif -%}
8+ {%- endunless -%}
9+
610< footer >
711 < div class ="container ">
812 < p class ="copy ">
913 © < a href ="{{ site.github.owner_url }}/{{ site.github.owner_name }}.github.io#licence "> {{ site.time | date: '%Y' }} {{ site.title }}</ a > .
1014 < span class ="powered "> Powered by < a href ="https://jekyllrb.com "> Jekyll</ a > / < a href ="https://pages.github.com/ "> GitHub Pages</ a >
11- < span class ="source-link "> ({{ edit_link | replace_first: '/edit/','/blob/' }})</ span > </ span >
15+ {%- unless site.remote_theme %} < span class ="source-link "> ({{ edit_link | replace_first: '/edit/','/blob/' }})</ span > {%- endunless -%}
16+ </ span >
1217 </ p >
1318
1419 < div class ="footer-links ">
You can’t perform that action at this time.
0 commit comments