From a72a91deef5cd79256d9c6e279baa6604302a623 Mon Sep 17 00:00:00 2001 From: shimingxy Date: Sat, 7 Mar 2020 10:21:38 +0800 Subject: [PATCH] i --- docs/_includes/ajaxify_content_form.html | 30 ++++++ docs/_includes/footer.html | 16 +++ docs/_includes/head.html | 124 +++++++++++++++++++++++ docs/_includes/header.html | 14 +++ docs/_includes/navigation.html | 13 +++ docs/_includes/pagination.html | 23 +++++ docs/_includes/post_footer.html | 7 ++ docs/_includes/share_buttons.html | 41 ++++++++ docs/_includes/social_links.html | 59 +++++++++++ docs/_layouts/center.html | 26 +++++ docs/_layouts/default.html | 40 ++++++++ docs/_layouts/page.html | 11 ++ docs/_layouts/post.html | 71 +++++++++++++ 13 files changed, 475 insertions(+) create mode 100644 docs/_includes/ajaxify_content_form.html create mode 100644 docs/_includes/footer.html create mode 100644 docs/_includes/head.html create mode 100644 docs/_includes/header.html create mode 100644 docs/_includes/navigation.html create mode 100644 docs/_includes/pagination.html create mode 100644 docs/_includes/post_footer.html create mode 100644 docs/_includes/share_buttons.html create mode 100644 docs/_includes/social_links.html create mode 100644 docs/_layouts/center.html create mode 100644 docs/_layouts/default.html create mode 100644 docs/_layouts/page.html create mode 100644 docs/_layouts/post.html diff --git a/docs/_includes/ajaxify_content_form.html b/docs/_includes/ajaxify_content_form.html new file mode 100644 index 000000000..e1de3fe0a --- /dev/null +++ b/docs/_includes/ajaxify_content_form.html @@ -0,0 +1,30 @@ + diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 000000000..7df2a206a --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,16 @@ + +{% if site.enable_anchorjs %} + +{% endif %} diff --git a/docs/_includes/head.html b/docs/_includes/head.html new file mode 100644 index 000000000..16cd911f2 --- /dev/null +++ b/docs/_includes/head.html @@ -0,0 +1,124 @@ + + {% if site.google_tag_manager %} + + {% endif %} + + + {% if page.title %}{{ page.title | strip_html }} – {% endif %}{{ site.title | strip_html }} + + + + + {% if page.meta_robots %} + {% else %}{% endif %} + + {% if site.fb_page %}{% endif %} + {% if page.categories %}{% endif %} + + + + + + + + + + + + + + + {% if site.extended_fonts %} + + + {% else %} + + + {% endif %} + {% if site.show_social_icons or site.show_sharing_icons %} + + {% endif %} + + + {% if site.enable_mathjax %} + + {% endif %} + + + {% if site.google_verification %} + + {% endif %} + {% if site.bing_verification %} + + {% endif %} + + + + + + + + + + {% if site.post_preview_image %} + + {% endif %} + + + + {% if site.twitter_username %} + + + {% endif %} + + + + {% if site.post_preview_image %} + + {% endif %} + + + + + + + + + + + + + + + + + + {% if site.google_analytics %} + + {% endif %} + + {% if page.tipue_search_active or layout.tipue_search_active %} + + + + + + {% endif %} + + diff --git a/docs/_includes/header.html b/docs/_includes/header.html new file mode 100644 index 000000000..c500af0a4 --- /dev/null +++ b/docs/_includes/header.html @@ -0,0 +1,14 @@ + diff --git a/docs/_includes/navigation.html b/docs/_includes/navigation.html new file mode 100644 index 000000000..b86cd274e --- /dev/null +++ b/docs/_includes/navigation.html @@ -0,0 +1,13 @@ +{% assign default_paths = site.pages | map: "path" %} +{% assign page_paths = site.header_pages | default: default_paths %} + +{% for path in page_paths %} + + {% assign page = site.pages | where: "path", path | first %} + + {% if page.title %} + {{ page.title }} + {% endif %} + + +{% endfor %} diff --git a/docs/_includes/pagination.html b/docs/_includes/pagination.html new file mode 100644 index 000000000..fbec54398 --- /dev/null +++ b/docs/_includes/pagination.html @@ -0,0 +1,23 @@ +{% if paginator.total_pages != 1 %} + +{% endif %} diff --git a/docs/_includes/post_footer.html b/docs/_includes/post_footer.html new file mode 100644 index 000000000..e5430b5d9 --- /dev/null +++ b/docs/_includes/post_footer.html @@ -0,0 +1,7 @@ +
+ + +

+ Follow Apereo on Twitter. +

+
diff --git a/docs/_includes/share_buttons.html b/docs/_includes/share_buttons.html new file mode 100644 index 000000000..c76b7cc4c --- /dev/null +++ b/docs/_includes/share_buttons.html @@ -0,0 +1,41 @@ +
+ {{ site.text.share_buttons.text }} + + +
diff --git a/docs/_includes/social_links.html b/docs/_includes/social_links.html new file mode 100644 index 000000000..4762bc9dd --- /dev/null +++ b/docs/_includes/social_links.html @@ -0,0 +1,59 @@ +
+ +
+ {% if site.bitcoin_url %} + + {% endif %} + {% if site.paypal_url %} + + {% endif %} + {% if site.flattr_button %} + {{ site.flattr_button }} + {% endif %} +
+
+
diff --git a/docs/_layouts/center.html b/docs/_layouts/center.html new file mode 100644 index 000000000..ecf5de657 --- /dev/null +++ b/docs/_layouts/center.html @@ -0,0 +1,26 @@ + + +{% include head.html %} + + {% if site.google_tag_manager %} + + + {% endif %} +
+ {% include header.html %} + +
+
+ {{ content }} +
+
+
+ + {% include footer.html %} + + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html new file mode 100644 index 000000000..5b377f7e5 --- /dev/null +++ b/docs/_layouts/default.html @@ -0,0 +1,40 @@ + + +{% include head.html %} + + {% if site.google_tag_manager %} + + + + + {% endif %} + {% if site.facebook_comments %} +
+ + {% endif %} + +
+ {% include header.html %} + +
+
+ {{ content }} +
+
+
+ + {% include footer.html %} + + + diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html new file mode 100644 index 000000000..b09b848ec --- /dev/null +++ b/docs/_layouts/page.html @@ -0,0 +1,11 @@ +--- +layout: default +--- +
+
+

{{ page.title }}

+
+
+ {{ content }} +
+
diff --git a/docs/_layouts/post.html b/docs/_layouts/post.html new file mode 100644 index 000000000..f4c487ae6 --- /dev/null +++ b/docs/_layouts/post.html @@ -0,0 +1,71 @@ +--- +layout: default +--- + +{% assign minutes = content | strip_html | number_of_words | divided_by: 180 %} +{% if minutes == 0 %} +{% assign minutes = 1 %} +{% endif %} + +
+

{{ page.title }}

+
+ {% if page.update_date %} +
+ {% endif %} + +
+ +
+ {{ content }} +
+ +{% if site.show_sharing_icons %} + {% include share_buttons.html %} +{% endif %} + +{% if site.show_post_footers %} + {% include post_footer.html %} +{% endif %} + +{% if txtpen.txtpen_sitename %} + + +{% endif %} + +{% if site.facebook_comments %} +
+{% endif %} + +{% if site.show_related_posts %} +

{{ site.text.post.related_posts }}

+ {% for post in site.related_posts %} +
+ +

{{ post.title }}

+

{{ post.summary }}

+
+
+ {% endfor %} +{% endif %}