File: default.html

package info (click to toggle)
ruby-jekyll-multiple-languages 1.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,376 kB
  • sloc: ruby: 312; javascript: 12; sh: 5; makefile: 4
file content (77 lines) | stat: -rw-r--r-- 2,986 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
  <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
      <title>Flex - {{ page.title }}</title>
      <meta name="viewport" content="width=device-width">

      <!-- syntax highlighting CSS -->
      <link rel="stylesheet" href="/css/syntax.css">

      <!-- Custom CSS -->
      <link rel="stylesheet" href="/css/main.css">

      <!-- Responsive CSS -->
      <link rel="stylesheet" href="/css/responsive.css">

      <!-- Google Fonts -->
      <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700' rel='stylesheet' type='text/css'>
      <link href='https://fonts.googleapis.com/css?family=Raleway:300,400,700' rel='stylesheet' type='text/css'>
  </head>
  <body>
    <div class="site">
      <div class="sidebar" id="sidebar">
        <div class="header">
          {% if site.lang == "it" and site.default_locale_in_subfolder != true %}
            <h1 class="title"><a href="{{ site.baseurl_root }}/"><img id="logo" src="/images/logo.png"></a></h1>
          {% else %}
            <h1 class="title"><a href="{{ site.baseurl_root }}/{{ site.lang }}"><img id="logo" src="/images/logo.png"></a></h1>
          {% endif %}
          <span class="tagline">{% t global.tagline %}</span>
        </div>
        <div class="posts">
          <ul class="posts-list">
            {% for post in site.posts %}
              <li class="post-link">
                <a class="post-title" href="{{ site.baseurl }}{{ post.url }}">
                  {{ post.title }} 
                </a>
              </li>
            {% endfor %}
            {% if site.pages.size > 1 %}
              <hr>
              {% for page in site.pages %}
                {% if page.title != "Home" %}
                  {% unless page.url contains "page2" or page.url contains "page3" %}
                    <li class="post-link">
                      <a class="post-title" href="{{ site.baseurl }}{{ page.url }}">
                        {{ page.title }} - {{ site.lang }}
                      </a>
                    </li>
                  {% endunless %}
                {% endif %}
              {% endfor %}
            {% endif %}
          </ul>
        </div>
        <div class="footer">
          <span id="footer-links">
            <a href="" class="footer-link">{% t global.about %}</a> <span class="separator">&bull;</span>
            <a href="" class="footer-link">{% t global.twitter %}</a> <span class="separator">&bull;</span>
            <a href="" class="footer-link">{% t global.github %}</a>
          </span>
        </div>
        {% tf footer.md %}
        <br />
        <a class="link-it" href="{% tl root it %}">it</a>
        <a class="link-en" href="{% tl root en %}">en</a>
        <a class="link-es" href="{% tl root es %}">es</a>
      </div>

        {{ content }}

    </div>
    <script src="/scripts/responsive.js" type="text/javascript"></script>
  </body>
</html>