Sha256: 81914e35f5f6e1c0eb98ac7405ae931c6d35a845139479782c03876163b5993e
Contents?: true
Size: 1.37 KB
Versions: 5
Compression:
Stored size: 1.37 KB
Contents
{% assign plang = page.lang | default: site.langs[0] | default: "en" %} <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ page.title }} | {% include i18n.html value=site.title %}</title> <meta name="description" content="{% include i18n.html value=site.description %}"> <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}"> <link rel="alternate" type="application/rss+xml" title="{% include i18n.html value=site.title %}" href="{{ "/feed.xml" | relative_url }}"> {% assign pagename = page.path | split:"." | first %} {% if page.layout == "post" %} {% assign i18n_posts = site.posts | where_exp:"p","p.path contains pagename" %} {% else %} {% assign i18n_posts = site.pages | where_exp:"p","p.path contains pagename" %} {% endif %} {% for t_lang in site.langs %} {% unless t_lang == plang %} {% assign t = i18n_posts | where:"lang",t_lang | first %} {% if t %} <link rel="alternate" hreflang="{{ t_lang }}" href="{{ site.url }}{{ t.url }}" /> {% endif %} {% endunless %} {% endfor %} {% if site.piwik %} {% include piwik.html %} {% endif %} {% if jekyll.environment == 'production' %} {% endif %} </head>
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
academic-0.4.96 | _includes/head.html |
academic-0.4.95 | _includes/head.html |
academic-0.4.94 | _includes/head.html |
academic-0.4.93 | _includes/head.html |
academic-0.4.92 | _includes/head.html |