aboutsummaryrefslogtreecommitdiff
path: root/theme/custom/partial
diff options
context:
space:
mode:
Diffstat (limited to 'theme/custom/partial')
-rwxr-xr-xtheme/custom/partial/flex.html21
-rw-r--r--theme/custom/partial/sidebar.html98
2 files changed, 0 insertions, 119 deletions
diff --git a/theme/custom/partial/flex.html b/theme/custom/partial/flex.html
deleted file mode 100755
index 747672b..0000000
--- a/theme/custom/partial/flex.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<p>
-{{
- _('Built with %(pelican_url)s',
- pelican_url='<a href="http://getpelican.com" target="_blank">Pelican</a>')
-}}
-{% if THEME_COLOR_ENABLE_USER_OVERRIDE %}
- <span class="footer-separator">|</span>
- {{
- _('Switch to the %(dark_url)s | %(light_url)s | %(browser_url)s theme',
- dark_url='<a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a>',
- light_url='<a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a>',
- browser_url='<a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a>'|safe)
- }}
- <script id="dark-theme-script"
- src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/dark-theme/dark-theme.min.js"
- data-enable-auto-detect-theme="{{ THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE|default('false') }}"
- data-default-theme="{{ THEME_COLOR|default('light') }}"
- type="text/javascript">
- </script>
-{% endif %}
-</p>
diff --git a/theme/custom/partial/sidebar.html b/theme/custom/partial/sidebar.html
deleted file mode 100644
index e4ae53f..0000000
--- a/theme/custom/partial/sidebar.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<aside>
- <div>
- <a href="{{ SITEURL }}/">
- {% if SITELOGO %}
- <img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
- {% else %}
- <img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
- {% endif %}
- </a>
-
- <h1>
- <a href="{{ SITEURL }}/">{{ SITETITLE }}</a>
- </h1>
-
- {% if SITESUBTITLE %}
- <p>{{ SITESUBTITLE }}</p>
- {% endif %}
-
- {% if PLUGINS %}
- {% if ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %}
- <form class="navbar-search" action="{{ SITEURL }}/search.html" role="search">
- <input type="text" name="q" id="tipue_search_input" placeholder="{{ _('Search...') }}">
- </form>
- {% elif 'pelican.plugins.search' in PLUGINS %}
- <div class="stork">
- <input class="stork-input" type="text" autocomplete="off" name="q" data-stork="sitesearch" placeholder="{{ _('Search...') }}"/>
- <div class="stork-output" data-stork="sitesearch-output"></div>
- </div>
- {% endif %}
- {% endif %}
-
- {% if (pages and DISPLAY_PAGES_ON_MENU) or LINKS %}
- <nav>
- <ul class="list">
- {# Open links in new window depending on the LINKS_IN_NEW_TAB setting #}
- {% macro get_target(link) -%}
- {%- if LINKS_IN_NEW_TAB in ('all', true) -%}
- _blank
- {%- elif LINKS_IN_NEW_TAB == "external" and not link.startswith("/") and not link.startswith(SITEURL) -%}
- _blank
- {%- else -%}
- _self
- {%- endif -%}
- {%- endmacro %}
-
- {% if PAGES_SORT_ATTRIBUTE -%}
- {% set pages = pages|sort(attribute=PAGES_SORT_ATTRIBUTE) %}
- {%- endif %}
-
- {% if DISPLAY_PAGES_ON_MENU %}
- {% for page in pages %}
- <li>
- <a target="{{ get_target(SITEURL) }}"
- href="{{ SITEURL }}/{{ page.url }}{% if not DISABLE_URL_HASH %}#{{ page.slug }}{% endif %}">
- {{ page.title }}
- </a>
- </li>
- {% endfor %}
- {% endif %}
-
- {% for name, link in LINKS %}
- <li>
- <a target="{{ get_target(link) }}" href="{{ link }}" >{{ name }}</a>
- </li>
- {% endfor %}
- </ul>
- </nav>
- {% endif %}
-
- {% if SOCIAL %}
- {% set solid = ['at', 'envelope', 'mailbox', 'rss'] %}
- {% set relme = ['at', 'envelope', 'mailbox', 'mastodon'] %}
- <ul class="social">
- {% for name, link in SOCIAL %}
- <li>
- <a class="sc-{{ name }}"
- {% if name in relme %}rel="me"{% endif %}
- href="{{ link }}"
- target="_blank">
- <i class="{% if name in solid %}fa-solid{% else %}fa{% endif %} fa-{{ name }}"></i>
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- <button class="theme-switch"><i class="fa fa-adjust fa-2x" aria-hidden="true" onclick="modeSwitcher()"></i></button>
- </div>
-
- {% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.aside %}
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle ads-aside"
- data-ad-client="{{ GOOGLE_ADSENSE.ca_id }}"
- data-ad-slot="{{ GOOGLE_ADSENSE.ads.aside }}"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- {% endif %}
-</aside>