summaryrefslogtreecommitdiff
path: root/_includes/article-header.html
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-10-03 00:10:58 -0500
committerKarl Hallsby <karl@hallsby.com>2021-10-03 02:16:53 -0500
commita10ad0a99ba6e44a35253c3bcaff80c90e99348e (patch)
tree005e05a70fb1fe24a5a7c44dc1d2d14c9e1d88ed /_includes/article-header.html
parentb9b34a65fbe55ce78d353ce2b7eb51f6884bd272 (diff)
Revert ALL jekyll-text-theme configuration files
I am changing the theme of the site, and need to revert these changes to make everything work. Revert "Add jekyll-text-theme YAML files" This reverts commit 61b34a5f260db45575d448d766ea29c0fb273ed3. Revert "Bring all of jekyll-text-theme _includes into site" This reverts commit c6bf5f7c895287d2028f6024265913b59784a154. Revert "Bring all of jekyll-text-theme assets to site" This reverts commit 7b69c2e5975f98da09d932ba6c70bdd71b1601a7. Remove jekyll text theme from Gemfile
Diffstat (limited to '_includes/article-header.html')
-rw-r--r--_includes/article-header.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/_includes/article-header.html b/_includes/article-header.html
deleted file mode 100644
index 748b24c..0000000
--- a/_includes/article-header.html
+++ /dev/null
@@ -1,49 +0,0 @@
-{%- include snippets/get-article-title.html article=include.article-%}
-{%- assign _article_title = __return -%}
-
-{%- if include.html != false -%}
-
- {%- include snippets/assign.html
- target=site.data.variables.default.page.show_title
- source0=layout.show_title source1=include.article.show_title -%}
- {%- assign _show_title = __return -%}
-
- {%- include snippets/assign.html
- target=site.data.variables.default.page.show_edit_on_github
- source0=layout.show_edit_on_github source1=include.article.show_edit_on_github -%}
- {%- assign _show_edit_on_github = __return -%}
-
- {%- if _show_title or _show_edit_on_github -%}
- <div class="article__header">
- {%- if _show_title -%}
- <header><h1>{{ _article_title }}</h1></header>
- {%- endif -%}
- {%- if _show_edit_on_github -%}
- {%- if site.repository and site.repository_tree -%}
- {%- include snippets/is_collection.html page=include.article -%}
- {%- assign _is_article_collection = __return -%}
- {%- include snippets/get-locale-string.html key='POST_ON_GITHUB' -%}
- {%- assign _locale_post_on_github = __return -%}
- {%- if _is_article_collection -%}
- {%- include snippets/prepend-path.html path=include.article.path prepend_path=site.collections_dir -%}
- {%- assign _article_path = __return -%}
- {%- else -%}
- {%- assign _article_path = include.article.path -%}
- {%- endif -%}
- {%- assign _github_path = site.repository | append: '/tree/' | append: site.repository_tree | append: '/' | append: _article_path | replace:'//','/' -%}
- <span class="split-space">&nbsp;</span>
- <a class="edit-on-github"
- title="{{ _locale_post_on_github }}"
- href="https://github.com/{{ _github_path }}">
- <i class="far fa-edit"></i></a>
- {%- endif -%}
- {%- endif -%}
- </div>
- {%- else -%}
- <header style="display:none;"><h1>{{ _article_title }}</h1></header>
- {%- endif -%}
-{%- endif -%}
-
-{%- if include.semantic != false -%}
- <meta itemprop="headline" content="{{ _article_title }}">
-{%- endif -%}