mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Add back tipue_search and make some stuff english
This commit is contained in:
@@ -54,6 +54,11 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% if not DISABLE_SEARCH %}
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/css/components/search.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/csslibs/tipuesearch.css">
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{SITEURL}}/theme/bundle-SHORTSHA1-1f5d92e.css">
|
||||
</head>
|
||||
<body>
|
||||
@@ -106,35 +111,14 @@
|
||||
{% if EXTRA_ATOM_FEED %}<a rel="alternate" type="application/atom+xml" href="{{ EXTRA_ATOM_FEED['url'] }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> {{ EXTRA_ATOM_FEED['name'] }}</a>{% endif %}
|
||||
</div>
|
||||
|
||||
{% if SOCIAL %}
|
||||
{% if not DISABLE_SEARCH %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Ubiquité</h2>
|
||||
{% for link_destination, link in SOCIAL %}
|
||||
<a class="mg-icon-link" href="{{ link }}" title="Link to my {{ link_destination }}">
|
||||
<i class="uk-icon-{{ link_destination }} uk-icon-medium" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<form class="uk-search" action="search.html" data-uk-search>
|
||||
<input class="uk-search-field tipue_search" type="search" name="q" id="tipue_search_input" autocomplete="off" placeholder="Search...">
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if AVATARS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Avatars</h2>
|
||||
{% for img_uri in AVATARS %}
|
||||
<img class="mg-avatar" src="{{ img_uri }}" alt="An avatar I use on the web" title="An avatar I use on the web">
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if READINGS %}
|
||||
<a href="{{ SITEURL }}/past_readings.html">
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">En ce moment je lis</h2>
|
||||
<img class="uk-thumbnail" src="{{ READINGS[0]['img_url'] }}" alt="{{ READINGS[0]['description'] }}" title="{{ READINGS[0]['description'] }}">
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<ul class="uk-nav uk-nav-side">
|
||||
{% if CATEGORY_SAVE_AS %}
|
||||
@@ -160,8 +144,33 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if not DISABLE_SEARCH %}
|
||||
<iframe src="https://duckduckgo.com/search.html?site={{ SITEURL }}&prefill=Search" class="duckduckgo"></iframe>
|
||||
{% if SOCIAL %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Social</h2>
|
||||
{% for link_destination, link in SOCIAL %}
|
||||
<a class="mg-icon-link" href="{{ link }}" title="Link to my {{ link_destination }}">
|
||||
<i class="uk-icon-{{ link_destination }} uk-icon-medium" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if AVATARS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Avatars</h2>
|
||||
{% for img_uri in AVATARS %}
|
||||
<img class="mg-avatar" src="{{ img_uri }}" alt="An avatar I use on the web" title="An avatar I use on the web">
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if READINGS %}
|
||||
<a href="{{ SITEURL }}/past_readings.html">
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Previous Entries</h2>
|
||||
<img class="uk-thumbnail" src="{{ READINGS[0]['img_url'] }}" alt="{{ READINGS[0]['description'] }}" title="{{ READINGS[0]['description'] }}">
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if LINKS %}
|
||||
@@ -266,6 +275,12 @@
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
{% if not DISABLE_SEARCH %}
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/js/components/search.min.js"></script>
|
||||
<script src="{{ SITEURL }}/theme/js/tipuesearch_set.js"></script>
|
||||
<script src="{{ SITEURL }}/theme/js/tipuesearch.js"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="{{SITEURL}}/theme/bundle-SHARE-{{SHARE|string|first|length|string|first}}-MG_FILTER_TAGS-{{MG_FILTER_TAGS|string|first|length|string|first}}-SHORTSHA1-12d0265.js"></script>
|
||||
|
||||
{% include 'disqus_count.html' %}
|
||||
|
Reference in New Issue
Block a user