Sha256: 1cfa52a86cfbc469d22197b72b5bcb39adbd8733140ad8a018b23431acc814b0

Contents?: true

Size: 1.17 KB

Versions: 17

Compression:

Stored size: 1.17 KB

Contents

{% if  site.data.site.lang == 'zh-CN' %}
{% assign lang = site.data.lang[site.data.site.lang] %}
{% else %}
{% assign lang = site.data.lang.en-US %}
{% endif %}
<style>
#k-qrcode{
    padding-bottom: 0px;
    width: 215px;
}
</style>
    <button class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '{{lang.post.qrcode }}', delay: 100}" mdui-menu="{target: '#k-qrcode',align:'right',covered:false}"><i class="mdui-icon material-icons">devices other</i></button>
    <ul  class="mdui-menu mdui-menu-cascade" id="k-qrcode">
        <li class="mdui-menu-item">
            <a class="mdui-text-center" href="javascript:;" class="mdui-ripple">{{lang.post.qrcodeContent}}</a>
        </li>
        {% if  site.data.site.lang == 'zh-CN' %}
        <li class="mdui-menu-item">
            <img class="mdui-center" src="https://pan.baidu.com/share/qrcode?w=200&h=200&url={{page.url | absolute_url |url_encode}}" alt="">
        </li>
        {% else %}
        <li class="mdui-menu-item">
            <img class="mdui-center" src="https://chart.googleapis.com/chart?chs=210x210&cht=qr&chl={{page.url | absolute_url |url_encode}}" alt="">
        </li>
        {% endif %}
    </ul>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
jekyll-theme-mdui-0.5.2.3 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.2.1 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.2 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.1.2 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.1.1 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.1 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.5.0 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.9 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.8 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.7 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.6 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.5 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.4 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.3 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.2 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9.1 _includes/content/component/qrcode.html
jekyll-theme-mdui-0.4.9 _includes/content/component/qrcode.html