-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
38 lines (33 loc) · 1.17 KB
/
profile.html
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
---
layout: page
---
{%- assign style = page.style | default: layout.style | default: site.style %}
<div class="Profile d-lg-flex flex-justify-center gutter">
{%- if style != "sidebar" and style != "stacked" %}
<div class="col-lg-4 border-gray-light pt-6 text-center">
{%- include masthead.html %}
{%- include social.html %}
</div>
{%- endif %}
<div class="col-lg-8 border-top border-lg-top-0 color-bg-default">
<div class="py-6">
{%- assign posts_total = site.posts | size %}
{%- assign posts_limit = site.posts_limit | default: posts_total %}
{%- unless content == "" %}
{{ content }}
{%- endunless %}
{%- if site.links %}
{%- include links.html %}
{%- endif %}
{%- unless posts_total == 0 %}
<h2 class="mb-3">Blog</h2>
{%- include post-timeline.html limit=posts_limit %}
{%- if site.posts.size > post_limit %}
{%- endif %}
{%- endunless %}
{%- if site.repositories %}
{%- include repositories.html %}
{%- endif %}
</div>
</div>
</div>