Welcome to mirror list, hosted at ThFree Co, Russian Federation.

post.html « _layouts « src - github.com/twbs/bootstrap-expo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86393f07d4c2d0bba901d060f150d5f76a05c530 (plain)
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
<!doctype html>
<html lang="en">
  <head>
    {% include header.html %}

    <!-- Twitter Cards -->
    <meta name="twitter:card" content="photo">
    <meta name="twitter:site" content="@getbootstrap">
    <meta name="twitter:author" content="@mdo">
    <meta name="twitter:title" content="{{ page.title }}">
    <meta name="twitter:image:src" content="{{ site.url }}/assets/img/screenshots/{{ page.slug }}.jpg">
    <meta name="twitter:image:width" content="1200">
    <meta name="twitter:image:height" content="900">
  </head>
  <body>

    {% include masthead.html %}

    <div class="listing">

      <div class="entry">
        <a class="entry-thumb" href="{{ page.source }}" title="Visit {{ page.title }}">
          {% include entry-image.html %}
        </a>
        <div class="entry-content">
          <h2 class="entry-title">
            <a href="{{ page.url }}">{{ page.title }}</a>
          </h2>
          <p class="entry-date">{{ page.date | date: "%B %-d %Y" }}</p>
        </div>

        <div class="related">
          <h3 class="related-title">More from the Expo</h3>
          <div class="row">
            {% for post in site.related_posts limit: 3 %}
              <div class="col-sm-4">
                <div class="entry">
                  <a class="entry-thumb" href="{{ post.url }}" title="View {{ post.title }} entry">
                    {% assign slug = post.title | slugify -%}
                    {%- assign default_post_image = "/assets/img/screenshots/" | append: slug | append: ".jpg" -%}
                    {%- assign post_image = post.image | default: default_post_image -%}
                    <img src="{{ post_image | absolute_url }}" alt="" loading="lazy">
                  </a>
                  <div class="entry-content">
                    <h4 class="entry-title">
                      <a href="{{ post.url }}">{{ post.title }}</a>
                    </h4>
                    <p class="entry-date">{{ post.date | date: "%B %-d, %Y" }}</p>
                  </div>
                </div>
              </div>
            {% endfor %}
          </div>
        </div>

      </div>
    </div>

    {% include footer.html %}

  </body>
</html>