{%- assign _author = site.data.authors[include.article.author] | default: site.author -%} {%- if include.html != false -%} {%- include snippets/assign.html target=site.data.variables.default.page.show_date source0=layout.show_date source1=include.article.show_date -%} {%- assign _show_date = __return -%} {%- if _show_date and include.article.date -%} {%- assign _show_date = true -%} {%- else -%} {%- assign _show_date = false -%} {%- endif -%} {%- assign _show_author = include.article.author -%} {%- assign _show_github = page.layout == 'model' -%} {%- include snippets/assign.html target=site.data.variables.default.page.pageview source0=layout.pageview source1=page.pageview -%} {%- assign _pageview = __return -%} {%- if _pageview or include.show_pageview -%} {%- assign _pageview = true -%} {%- else -%} {%- assign _pageview = false -%} {%- endif -%} {%- assign _paths_archive = site.paths.archive | default: site.data.variables.default.paths.archive -%} {%- if _show_tags or _show_author or _show_date or _pageview -%}
{%- if _show_github -%} {%- assign _github_path = site.repository | append: '/tree/' | append: site.repository_tree | append: '/' | append: page.path | replace:'.html','.md' | replace:'//','/' -%}
Edit on GitHub
{%- endif -%} {%- if _show_author or _show_date or _pageview -%} {%- endif -%}
{%- endif -%} {%- endif -%} {%- if include.semantic != false -%} {%- if _author -%} {%- endif -%} {%- if include.article.date -%} {%- endif -%} {%- endif -%}