jekyll-theme-profile 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,38 @@
1
+ <div class="Overlay-backdrop--side Overlay-backdrop--placement-left" data-modal-dialog-overlay>
2
+ <modal-dialog class="Overlay Overlay--width-medium Overlay--motion-slideDown height-fit height-full" >
3
+ <div class="Overlay-headerContentWrap d-flex flex-row py-3 px-2">
4
+ <div class="Overlay-titleWrap d-flex flex-1">
5
+ <div tabindex="-1" class="d-flex flex-1 ml-3" id="github-logo">
6
+ <a href="{{ site.baseurl }}/" class="AppHeader-link d-flex flex-items-center no-underline mr-3">
7
+ <img class="avatar img-cover circle" height="32" width="32" alt="{{ name }}" src="{{ user_img | relative_url }}">
8
+ <span class="h4 text-semibold mx-3">{{ name }}</span>
9
+ </a>
10
+ </div>
11
+ </div>
12
+ <div class="Overlay-actionWrap d-flex flex-justify-end" >
13
+ <button id="collapse-btn" class="close-button Overlay-closeButton">
14
+ {% octicon x height: 16 %}
15
+ </button>
16
+ </div>
17
+ </div>
18
+ <div class="Overlay-body d-flex flex-column p-2">
19
+ <ul data-overflow-nav class="ActionListWrap SideNav">
20
+ {%- for nav_item in site.nav %}
21
+ <li class="SideNav-item"{% if page.url==nav_item.url %} aria-current="page"{% endif %}>
22
+ <a href="{{ nav_item.url | relative_url }}" class="ActionListContent ActionListItem-label" >
23
+ {{ nav_item.name }}
24
+ </a>
25
+ </li>
26
+ {%- endfor %}
27
+ </ul>
28
+ </div>
29
+ <div class="Overlay-footer Overlay-footer--alignEnd d-block pt-0">
30
+ <div class="ActionList-sectionDivider mt-0 mb-1"></div>
31
+ {%- if site.social_media %}
32
+ <div class="ActionList px-0 flex-1">
33
+ {%- include social.html %}
34
+ </div>
35
+ {%- endif %}
36
+ </div>
37
+ </modal-dialog>
38
+ </div>
data/_includes/nav.html CHANGED
@@ -1,6 +1,6 @@
1
1
  {%- for nav_item in site.nav %}
2
2
  <div class="Header-item flex-justify-center f4 p-2">
3
- <a href="{{ nav_item.url | relative_url }}" class="Header-link" {% if page.url == nav_item.url %}aria-selected="true"{% endif %}>
3
+ <a href="{{ nav_item.url | relative_url }}" class="Header-link" {% if page.url == nav_item.url %}aria-current="page"{% endif %}>
4
4
  {{ nav_item.name }}
5
5
  </a>
6
6
  </div>
@@ -0,0 +1,11 @@
1
+ <nav class="UnderlineNav">
2
+ <ul class="UnderlineNav-body flex-row list-style-none">
3
+ {%- for nav_item in site.nav %}
4
+ <li class="d-inline-flex">
5
+ <a href="{{ nav_item.url | relative_url }}" class="UnderlineNav-item m-2" {% if page.url == nav_item.url %}aria-current="page"{% endif %}>
6
+ {{ nav_item.name }}
7
+ </a>
8
+ </li>
9
+ {%- endfor %}
10
+ </ul>
11
+ </nav>
@@ -1,15 +1,24 @@
1
- <!-- <div class="height-full text-left border border-gray-light rounded-1 p-3"> -->
2
- <!-- <div class="d-flex flex-justify-between flex-items-start mb-1"> -->
3
- <div class="TimelineItem">
4
- <div class="TimelineItem-badge">{% octicon comment height:16 %}</div>
5
- <div class="TimelinItem-body">
6
- <span class="f3 lh-condensed mb-1">
1
+ {%- assign icon = post.type | default: "comment" %}
2
+ <div class="col-sm-6 col-lg-4 ">
3
+ <div class="py-4 d-flex flex-column border-top">
4
+ <div class="image-container">
7
5
  <a href="{{ post.url | relative_url }}">
8
- {{ post.title }}
6
+ <img class="rounded-2" src="{{ post.image | relative_url }}" width="377" height="200" alt="{{ post.title }}">
9
7
  </a>
10
- </span>
11
- <!-- </div> -->
12
- <div class="text-gray mb-2 ws-normal">{{ post.date | date: "%b %d, %Y"}}</div>
13
- <div class="summary"> {{ post.excerpt }}</div>
8
+ </div>
9
+ <h3 class="h6-mktg mb-12px">
10
+ <a class="Link--primary" href="{{ post.url | relative_url }}">{{ post.title }}</a>
11
+ </h3>
12
+ <p class="f4-mktg color-fg-muted mb-0">{{ post.excerpt }}</p>
13
+ <div class="mt-14px">
14
+ <div class="d-flex flex-items-center">
15
+ <div class="d-flex flex-items-end flex-wrap">
16
+ {%- if post.author %}
17
+ <span class="mr-3 mr-12px mt-1 f5-mktg text-bold">{{ post.author }}</span>
18
+ {%- endif %}
19
+ <span class="d-inline-block f5-mktg text-mono color-fg-muted mt-1">{{ post.date | date: "%b %d, %Y"}}</span>
20
+ </div>
21
+ </div>
22
+ </div>
14
23
  </div>
15
24
  </div>
@@ -0,0 +1,22 @@
1
+ {%- assign icon = post.type | default: "comment" %}
2
+ <div class="py-4 d-flex flex-column flex-md-row flex-md-row-reverse p-responsive">
3
+ <div class="col-12 col-lg-8 p-responsive">
4
+ <div class="image-container">
5
+ <a href="{{ post.url | relative_url }}">
6
+ <img class="rounded-2" src="{{ post.image | relative_url }}" width="800" height="425" alt="{{ post.title }}">
7
+ </a>
8
+ </div>
9
+ </div>
10
+ <div class="col-12 col-lg-4 pt-lg-4 p-responsive">
11
+ <h3 class="h4-mktg mb-12px">
12
+ <a class="Link--primary" href="{{ post.url | relative_url }}">{{ post.title }}</a>
13
+ </h3>
14
+ <p class="f4-mktg color-fg-muted">{{ post.excerpt }}</p>
15
+ <div class="d-flex flex-items-end flex-wrap">
16
+ {%- if post.author %}
17
+ <span class="mr-3 mr-12px mt-1 f5-mktg text-bold">{{ post.author }}</span>
18
+ {%- endif %}
19
+ <span class="d-inline-block f5-mktg text-mono color-fg-muted mt-1">{{ post.date | date: "%b %d, %Y"}}</span>
20
+ </div>
21
+ </div>
22
+ </div>
@@ -0,0 +1,49 @@
1
+ {%- assign icon = post.type | default: "comment" %}
2
+ <div class="TimelineItem flex-wrap">
3
+ <div class="col-12 col-md-5 position-relative">
4
+ <div class="TimelineItem-title mt-5 position-sticky d-flex">
5
+ <div class="TimelineItem-badge">{% octicon {{icon}} height:16 %}</div>
6
+ <div class="title">
7
+ <div class="h2">
8
+ <a href="{{ post.url | relative_url }}">
9
+ {{ post.title }}
10
+ </a>
11
+ </div>
12
+ {%- if post.author %}
13
+ <div class="authors-wrap text-bold mb-2 mr-3 ">{{ post.author }}</div>
14
+ {%- endif %}
15
+ <div class="text-gray mb-2 ws-normal">{{ post.date | date: "%b %d, %Y"}}</div>
16
+ {%- for tag in post.tags %}
17
+ <span class="IssueLabel IssueLabel--big color-bg-accent-emphasis color-fg-on-emphasis mr-1">{{tag}}</span>
18
+ {%- endfor %}
19
+ </div>
20
+ </div>
21
+ </div>
22
+ <div class="col-12 col-md-7">
23
+ <div class="ml-5 mt-5">
24
+ {%- if post.image %}
25
+ <div class="image-container mb-5">
26
+ <img class="rounded-2" src="{{ post.image}}" width="800" height="425" alt="{{ post.title }}" />
27
+ </div>
28
+ {%- endif %}
29
+ {%- if post.video %}
30
+ <iframe width="560" height="315" src="{{ post.video }}" frameborder="0" gesture="media"
31
+ allow="encrypted-media; fullscreen; picture-in-picture" allowfullscreen></iframe>
32
+ {%- endif %}
33
+ <div class="summary"> {{ post.excerpt }}</div>
34
+ <div class="more">
35
+ <a href="{{ post.url | relative_url }}" class="link-mktg arrow-target-mktg text-semibold f4-mktg">
36
+ Contiue
37
+ <svg xmlns="http://www.w3.org/2000/svg" class="octicon arrow-symbol-mktg" width="16" height="16"
38
+ viewBox="0 0 16 16" fill="none">
39
+ <path fill="currentColor"
40
+ d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z">
41
+ </path>
42
+ <path stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path>
43
+ </svg>
44
+ </a>
45
+ </div>
46
+ </div>
47
+
48
+ </div>
49
+ </div>
@@ -0,0 +1,10 @@
1
+ {%- assign post_limit = include.limit | default: 3 %}
2
+
3
+ <div class="mb-4">
4
+ {%- for post in site.posts limit: {{post_limit}} %}
5
+ {%- include post-timeline-card.html %}
6
+ {%- endfor %}
7
+ </div>
8
+ <div class="col-12 col-md-7 offset-md-5 mb-5">
9
+ <a href="{{ site.paginate_path | relative_url | replace: 'page:num', '' }}" class="btn ml-5">Read more</a>
10
+ </div>
data/_includes/posts.html CHANGED
@@ -1,7 +1,10 @@
1
1
  {%- assign post_limit = include.limit | default: 3 %}
2
2
 
3
- <div class="gutter-condensed mb-4">
3
+ <div class="mb-4">
4
4
  {%- for post in site.posts limit: {{post_limit}} %}
5
5
  {%- include post-card.html %}
6
6
  {%- endfor %}
7
7
  </div>
8
+ <div class="col-12 col-md-7 offset-md-5 mb-5">
9
+ <a href="{{ site.paginate_path | relative_url | replace: 'page:num', '' }}" class="btn ml-5">Read more</a>
10
+ </div>
@@ -84,10 +84,10 @@
84
84
  <a href="https://www.instagram.com/{{ site.social_media.instagram }}" class="tooltipped tooltipped-se" aria-label="Instagram: {{ site.social_media.instagram }}">
85
85
  {%- if site.icon_color %}
86
86
  {%- assign color = site.icon_color %}
87
- <svg width="20" height="20" viewBox="0 0 512 512" fill="{{ color }}" xmlns="http://www.w3.org/2000/svg" ><path d="M256,49.471c67.266,0,75.233.257,101.8,1.469,24.562,1.121,37.9,5.224,46.778,8.674a78.052,78.052,0,0,1,28.966,18.845,78.052,78.052,0,0,1,18.845,28.966c3.45,8.877,7.554,22.216,8.674,46.778,1.212,26.565,1.469,34.532,1.469,101.8s-0.257,75.233-1.469,101.8c-1.121,24.562-5.225,37.9-8.674,46.778a83.427,83.427,0,0,1-47.811,47.811c-8.877,3.45-22.216,7.554-46.778,8.674-26.56,1.212-34.527,1.469-101.8,1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051,78.051,0,0,1-28.966-18.845,78.053,78.053,0,0,1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s0.257-75.233,1.469-101.8c1.121-24.562,5.224-37.9,8.674-46.778A78.052,78.052,0,0,1,78.458,78.458a78.053,78.053,0,0,1,28.966-18.845c8.877-3.45,22.216-7.554,46.778-8.674,26.565-1.212,34.532-1.469,101.8-1.469m0-45.391c-68.418,0-77,.29-103.866,1.516-26.815,1.224-45.127,5.482-61.151,11.71a123.488,123.488,0,0,0-44.62,29.057A123.488,123.488,0,0,0,17.3,90.982C11.077,107.007,6.819,125.319,5.6,152.134,4.369,179,4.079,187.582,4.079,256S4.369,333,5.6,359.866c1.224,26.815,5.482,45.127,11.71,61.151a123.489,123.489,0,0,0,29.057,44.62,123.486,123.486,0,0,0,44.62,29.057c16.025,6.228,34.337,10.486,61.151,11.71,26.87,1.226,35.449,1.516,103.866,1.516s77-.29,103.866-1.516c26.815-1.224,45.127-5.482,61.151-11.71a128.817,128.817,0,0,0,73.677-73.677c6.228-16.025,10.486-34.337,11.71-61.151,1.226-26.87,1.516-35.449,1.516-103.866s-0.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486,123.486,0,0,0-29.057-44.62A123.487,123.487,0,0,0,421.018,17.3C404.993,11.077,386.681,6.819,359.866,5.6,333,4.369,324.418,4.079,256,4.079h0Z"/><path d="M256,126.635A129.365,129.365,0,1,0,385.365,256,129.365,129.365,0,0,0,256,126.635Zm0,213.338A83.973,83.973,0,1,1,339.974,256,83.974,83.974,0,0,1,256,339.973Z"/><circle cx="390.48" cy="121.52" r="30.23"/></svg>
88
87
  {%- else %}
89
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 132.004 132" width="20" height="20"><defs><linearGradient id="b"><stop offset="0" stop-color="#3771c8"/><stop stop-color="#3771c8" offset=".128"/><stop offset="1" stop-color="#60f" stop-opacity="0"/></linearGradient><linearGradient id="a"><stop offset="0" stop-color="#fd5"/><stop offset=".1" stop-color="#fd5"/><stop offset=".5" stop-color="#ff543e"/><stop offset="1" stop-color="#c837ab"/></linearGradient><radialGradient id="c" cx="158.429" cy="578.088" r="65" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 -1.98198 1.8439 0 -1031.402 454.004)" fx="158.429" fy="578.088"/><radialGradient id="d" cx="147.694" cy="473.455" r="65" xlink:href="#b" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.17394 .86872 -3.5818 .71718 1648.348 -458.493)" fx="147.694" fy="473.455"/></defs><path fill="url(#c)" d="M65.03 0C37.888 0 29.95.028 28.407.156c-5.57.463-9.036 1.34-12.812 3.22-2.91 1.445-5.205 3.12-7.47 5.468C4 13.126 1.5 18.394.595 24.656c-.44 3.04-.568 3.66-.594 19.188-.01 5.176 0 11.988 0 21.125 0 27.12.03 35.05.16 36.59.45 5.42 1.3 8.83 3.1 12.56 3.44 7.14 10.01 12.5 17.75 14.5 2.68.69 5.64 1.07 9.44 1.25 1.61.07 18.02.12 34.44.12 16.42 0 32.84-.02 34.41-.1 4.4-.207 6.955-.55 9.78-1.28 7.79-2.01 14.24-7.29 17.75-14.53 1.765-3.64 2.66-7.18 3.065-12.317.088-1.12.125-18.977.125-36.81 0-17.836-.04-35.66-.128-36.78-.41-5.22-1.305-8.73-3.127-12.44-1.495-3.037-3.155-5.305-5.565-7.624C116.9 4 111.64 1.5 105.372.596 102.335.157 101.73.027 86.19 0H65.03z" transform="translate(1.004 1)"/><path fill="url(#d)" d="M65.03 0C37.888 0 29.95.028 28.407.156c-5.57.463-9.036 1.34-12.812 3.22-2.91 1.445-5.205 3.12-7.47 5.468C4 13.126 1.5 18.394.595 24.656c-.44 3.04-.568 3.66-.594 19.188-.01 5.176 0 11.988 0 21.125 0 27.12.03 35.05.16 36.59.45 5.42 1.3 8.83 3.1 12.56 3.44 7.14 10.01 12.5 17.75 14.5 2.68.69 5.64 1.07 9.44 1.25 1.61.07 18.02.12 34.44.12 16.42 0 32.84-.02 34.41-.1 4.4-.207 6.955-.55 9.78-1.28 7.79-2.01 14.24-7.29 17.75-14.53 1.765-3.64 2.66-7.18 3.065-12.317.088-1.12.125-18.977.125-36.81 0-17.836-.04-35.66-.128-36.78-.41-5.22-1.305-8.73-3.127-12.44-1.495-3.037-3.155-5.305-5.565-7.624C116.9 4 111.64 1.5 105.372.596 102.335.157 101.73.027 86.19 0H65.03z" transform="translate(1.004 1)"/><path fill="#fff" d="M66.004 18c-13.036 0-14.672.057-19.792.29-5.11.234-8.598 1.043-11.65 2.23-3.157 1.226-5.835 2.866-8.503 5.535-2.67 2.668-4.31 5.346-5.54 8.502-1.19 3.053-2 6.542-2.23 11.65C18.06 51.327 18 52.964 18 66s.058 14.667.29 19.787c.235 5.11 1.044 8.598 2.23 11.65 1.227 3.157 2.867 5.835 5.536 8.503 2.667 2.67 5.345 4.314 8.5 5.54 3.054 1.187 6.543 1.996 11.652 2.23 5.12.233 6.755.29 19.79.29 13.037 0 14.668-.057 19.788-.29 5.11-.234 8.602-1.043 11.656-2.23 3.156-1.226 5.83-2.87 8.497-5.54 2.67-2.668 4.31-5.346 5.54-8.502 1.18-3.053 1.99-6.542 2.23-11.65.23-5.12.29-6.752.29-19.788 0-13.036-.06-14.672-.29-19.792-.24-5.11-1.05-8.598-2.23-11.65-1.23-3.157-2.87-5.835-5.54-8.503-2.67-2.67-5.34-4.31-8.5-5.535-3.06-1.187-6.55-1.996-11.66-2.23-5.12-.233-6.75-.29-19.79-.29zm-4.306 8.65c1.278-.002 2.704 0 4.306 0 12.816 0 14.335.046 19.396.276 4.68.214 7.22.996 8.912 1.653 2.24.87 3.837 1.91 5.516 3.59 1.68 1.68 2.72 3.28 3.592 5.52.657 1.69 1.44 4.23 1.653 8.91.23 5.06.28 6.58.28 19.39s-.05 14.33-.28 19.39c-.214 4.68-.996 7.22-1.653 8.91-.87 2.24-1.912 3.835-3.592 5.514-1.68 1.68-3.275 2.72-5.516 3.59-1.69.66-4.232 1.44-8.912 1.654-5.06.23-6.58.28-19.396.28-12.817 0-14.336-.05-19.396-.28-4.68-.216-7.22-.998-8.913-1.655-2.24-.87-3.84-1.91-5.52-3.59-1.68-1.68-2.72-3.276-3.592-5.517-.657-1.69-1.44-4.23-1.653-8.91-.23-5.06-.276-6.58-.276-19.398s.046-14.33.276-19.39c.214-4.68.996-7.22 1.653-8.912.87-2.24 1.912-3.84 3.592-5.52 1.68-1.68 3.28-2.72 5.52-3.592 1.692-.66 4.233-1.44 8.913-1.655 4.428-.2 6.144-.26 15.09-.27zm29.928 7.97c-3.18 0-5.76 2.577-5.76 5.758 0 3.18 2.58 5.76 5.76 5.76 3.18 0 5.76-2.58 5.76-5.76 0-3.18-2.58-5.76-5.76-5.76zm-25.622 6.73c-13.613 0-24.65 11.037-24.65 24.65 0 13.613 11.037 24.645 24.65 24.645C79.617 90.645 90.65 79.613 90.65 66S79.616 41.35 66.003 41.35zm0 8.65c8.836 0 16 7.163 16 16 0 8.836-7.164 16-16 16-8.837 0-16-7.164-16-16 0-8.837 7.163-16 16-16z"/></svg>
88
+ {%- assign color = "#cd486b" %}
90
89
  {%- endif %}
90
+ <svg width="20" height="20" viewBox="0 0 512 512" fill="{{ color }}" xmlns="http://www.w3.org/2000/svg" ><path d="M256,49.471c67.266,0,75.233.257,101.8,1.469,24.562,1.121,37.9,5.224,46.778,8.674a78.052,78.052,0,0,1,28.966,18.845,78.052,78.052,0,0,1,18.845,28.966c3.45,8.877,7.554,22.216,8.674,46.778,1.212,26.565,1.469,34.532,1.469,101.8s-0.257,75.233-1.469,101.8c-1.121,24.562-5.225,37.9-8.674,46.778a83.427,83.427,0,0,1-47.811,47.811c-8.877,3.45-22.216,7.554-46.778,8.674-26.56,1.212-34.527,1.469-101.8,1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051,78.051,0,0,1-28.966-18.845,78.053,78.053,0,0,1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s0.257-75.233,1.469-101.8c1.121-24.562,5.224-37.9,8.674-46.778A78.052,78.052,0,0,1,78.458,78.458a78.053,78.053,0,0,1,28.966-18.845c8.877-3.45,22.216-7.554,46.778-8.674,26.565-1.212,34.532-1.469,101.8-1.469m0-45.391c-68.418,0-77,.29-103.866,1.516-26.815,1.224-45.127,5.482-61.151,11.71a123.488,123.488,0,0,0-44.62,29.057A123.488,123.488,0,0,0,17.3,90.982C11.077,107.007,6.819,125.319,5.6,152.134,4.369,179,4.079,187.582,4.079,256S4.369,333,5.6,359.866c1.224,26.815,5.482,45.127,11.71,61.151a123.489,123.489,0,0,0,29.057,44.62,123.486,123.486,0,0,0,44.62,29.057c16.025,6.228,34.337,10.486,61.151,11.71,26.87,1.226,35.449,1.516,103.866,1.516s77-.29,103.866-1.516c26.815-1.224,45.127-5.482,61.151-11.71a128.817,128.817,0,0,0,73.677-73.677c6.228-16.025,10.486-34.337,11.71-61.151,1.226-26.87,1.516-35.449,1.516-103.866s-0.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486,123.486,0,0,0-29.057-44.62A123.487,123.487,0,0,0,421.018,17.3C404.993,11.077,386.681,6.819,359.866,5.6,333,4.369,324.418,4.079,256,4.079h0Z"/><path d="M256,126.635A129.365,129.365,0,1,0,385.365,256,129.365,129.365,0,0,0,256,126.635Zm0,213.338A83.973,83.973,0,1,1,339.974,256,83.974,83.974,0,0,1,256,339.973Z"/><circle cx="390.48" cy="121.52" r="30.23"/></svg>
91
91
  </a>
92
92
  </div>
93
93
  {%- endif %}
@@ -276,11 +276,10 @@
276
276
  <a href="https://www.threads.net/@{{ site.social_media.threads }}" class="tooltipped tooltipped-se" aria-label="Threads: {{ site.social_media.threads }}">
277
277
  {%- if site.icon_color %}
278
278
  {%- assign color = site.icon_color %}
279
- <svg height="20" viewBox="0 0 192 192" fill="{{ color }}" xmlns="http://www.w3.org/2000/svg"><path d="M141.537 88.9883C140.71 88.5919 139.87 88.2104 139.019 87.8451C137.537 60.5382 122.616 44.905 97.5619 44.745C97.4484 44.7443 97.3355 44.7443 97.222 44.7443C82.2364 44.7443 69.7731 51.1409 62.102 62.7807L75.881 72.2328C81.6116 63.5383 90.6052 61.6848 97.2286 61.6848C97.3051 61.6848 97.3819 61.6848 97.4576 61.6855C105.707 61.7381 111.932 64.1366 115.961 68.814C118.893 72.2193 120.854 76.925 121.825 82.8638C114.511 81.6207 106.601 81.2385 98.145 81.7233C74.3247 83.0954 59.0111 96.9879 60.0396 116.292C60.5615 126.084 65.4397 134.508 73.775 140.011C80.8224 144.663 89.899 146.938 99.3323 146.423C111.79 145.74 121.563 140.987 128.381 132.296C133.559 125.696 136.834 117.143 138.28 106.366C144.217 109.949 148.617 114.664 151.047 120.332C155.179 129.967 155.42 145.8 142.501 158.708C131.182 170.016 117.576 174.908 97.0135 175.059C74.2042 174.89 56.9538 167.575 45.7381 153.317C35.2355 139.966 29.8077 120.682 29.6052 96C29.8077 71.3178 35.2355 52.0336 45.7381 38.6827C56.9538 24.4249 74.2039 17.11 97.0132 16.9405C119.988 17.1113 137.539 24.4614 149.184 38.788C154.894 45.8136 159.199 54.6488 162.037 64.9503L178.184 60.6422C174.744 47.9622 169.331 37.0357 161.965 27.974C147.036 9.60668 125.202 0.195148 97.0695 0H96.9569C68.8816 0.19447 47.2921 9.6418 32.7883 28.0793C19.8819 44.4864 13.2244 67.3157 13.0007 95.9325L13 96L13.0007 96.0675C13.2244 124.684 19.8819 147.514 32.7883 163.921C47.2921 182.358 68.8816 191.806 96.9569 192H97.0695C122.03 191.827 139.624 185.292 154.118 170.811C173.081 151.866 172.51 128.119 166.26 113.541C161.776 103.087 153.227 94.5962 141.537 88.9883ZM98.4405 129.507C88.0005 130.095 77.1544 125.409 76.6196 115.372C76.2232 107.93 81.9158 99.626 99.0812 98.6368C101.047 98.5234 102.976 98.468 104.871 98.468C111.106 98.468 116.939 99.0737 122.242 100.233C120.264 124.935 108.662 128.946 98.4405 129.507Z"/></svg>
280
279
  {%- else %}
281
280
  {%- assign color = "#959da5" %}
282
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 153.14 178" height="20"><defs><style>.cls-1{fill:url(#linear-gradient);}</style><linearGradient id="linear-gradient" x1="41.76" y1="-17.79" x2="110.1" y2="180.87" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#515bd4"/><stop offset="0.25" stop-color="#8134af"/><stop offset="0.5" stop-color="#dd2a7b"/><stop offset="0.75" stop-color="#f58529"/><stop offset="1" stop-color="#feda77"/></linearGradient></defs><title>Threads-insta-Logo</title><path class="cls-1" d="M119.16,82.5c-.76-.37-1.54-.72-2.33-1.06-1.37-25.32-15.21-39.81-38.43-40h-.32c-13.89,0-25.45,5.93-32.56,16.72L58.3,67c5.31-8.06,13.65-9.78,19.79-9.78h.21c7.65.05,13.42,2.27,17.15,6.61,2.72,3.15,4.54,7.52,5.44,13a97.8,97.8,0,0,0-22-1.06C56.85,77,42.66,89.92,43.61,107.81a27.6,27.6,0,0,0,12.73,22A39.4,39.4,0,0,0,80,135.75c11.55-.64,20.61-5,26.93-13.1,4.8-6.12,7.83-14.05,9.17-24a28.29,28.29,0,0,1,11.84,13c3.83,8.93,4.06,23.61-7.92,35.58-10.49,10.48-23.11,15-42.17,15.15-21.15-.15-37.14-6.93-47.54-20.15C20.61,129.76,15.58,111.88,15.4,89c.18-22.88,5.21-40.76,15-53.14,10.4-13.22,26.39-20,47.54-20.15,21.3.15,37.57,7,48.36,20.25,5.3,6.51,9.29,14.7,11.92,24.25l15-4a81.07,81.07,0,0,0-15-30.29C124.26,8.91,104,.18,77.94,0h-.1c-26,.18-46.05,8.94-59.49,26C6.38,41.24.21,62.41,0,88.94v.12c.21,26.53,6.38,47.7,18.35,62.91,13.44,17.09,33.46,25.85,59.49,26h.1c23.14-.16,39.45-6.22,52.89-19.64,17.58-17.57,17-39.58,11.25-53.1C137.93,95.57,130,87.7,119.16,82.5M79.21,120.06c-9.68.55-19.73-3.8-20.23-13.1-.37-6.9,4.91-14.6,20.83-15.52,1.82-.1,3.61-.15,5.36-.15a76,76,0,0,1,16.11,1.63c-1.84,22.91-12.59,26.62-22.07,27.14"/></svg>
283
281
  {%- endif %}
282
+ <svg height="20" viewBox="0 0 192 192" fill="{{ color }}" xmlns="http://www.w3.org/2000/svg"><path d="M141.537 88.9883C140.71 88.5919 139.87 88.2104 139.019 87.8451C137.537 60.5382 122.616 44.905 97.5619 44.745C97.4484 44.7443 97.3355 44.7443 97.222 44.7443C82.2364 44.7443 69.7731 51.1409 62.102 62.7807L75.881 72.2328C81.6116 63.5383 90.6052 61.6848 97.2286 61.6848C97.3051 61.6848 97.3819 61.6848 97.4576 61.6855C105.707 61.7381 111.932 64.1366 115.961 68.814C118.893 72.2193 120.854 76.925 121.825 82.8638C114.511 81.6207 106.601 81.2385 98.145 81.7233C74.3247 83.0954 59.0111 96.9879 60.0396 116.292C60.5615 126.084 65.4397 134.508 73.775 140.011C80.8224 144.663 89.899 146.938 99.3323 146.423C111.79 145.74 121.563 140.987 128.381 132.296C133.559 125.696 136.834 117.143 138.28 106.366C144.217 109.949 148.617 114.664 151.047 120.332C155.179 129.967 155.42 145.8 142.501 158.708C131.182 170.016 117.576 174.908 97.0135 175.059C74.2042 174.89 56.9538 167.575 45.7381 153.317C35.2355 139.966 29.8077 120.682 29.6052 96C29.8077 71.3178 35.2355 52.0336 45.7381 38.6827C56.9538 24.4249 74.2039 17.11 97.0132 16.9405C119.988 17.1113 137.539 24.4614 149.184 38.788C154.894 45.8136 159.199 54.6488 162.037 64.9503L178.184 60.6422C174.744 47.9622 169.331 37.0357 161.965 27.974C147.036 9.60668 125.202 0.195148 97.0695 0H96.9569C68.8816 0.19447 47.2921 9.6418 32.7883 28.0793C19.8819 44.4864 13.2244 67.3157 13.0007 95.9325L13 96L13.0007 96.0675C13.2244 124.684 19.8819 147.514 32.7883 163.921C47.2921 182.358 68.8816 191.806 96.9569 192H97.0695C122.03 191.827 139.624 185.292 154.118 170.811C173.081 151.866 172.51 128.119 166.26 113.541C161.776 103.087 153.227 94.5962 141.537 88.9883ZM98.4405 129.507C88.0005 130.095 77.1544 125.409 76.6196 115.372C76.2232 107.93 81.9158 99.626 99.0812 98.6368C101.047 98.5234 102.976 98.468 104.871 98.468C111.106 98.468 116.939 99.0737 122.242 100.233C120.264 124.935 108.662 128.946 98.4405 129.507Z"/></svg>
284
283
  </a>
285
284
  </div>
286
285
  {%- endif %}
@@ -1,4 +1,4 @@
1
- <div class="d-flex flex-items-center">
2
- <button id="theme-toggle" class="btn btn-octicon mr-2 tooltipped tooltipped-se" aria-label="Color mode" type="button"><span id="theme-icon"
1
+ <div class="Toggle d-flex flex-items-center">
2
+ <button id="theme-toggle" class="btn-octicon mr-2 tooltipped tooltipped-sw" aria-label="Color mode" type="button"><span id="theme-icon"
3
3
  class="octicon octicon-moon-24"></span></button>
4
4
  </div>
@@ -0,0 +1,30 @@
1
+ {%- assign user = site.github.owner %}
2
+ <div class="f4 d-flex flex-items-center flex-justify-center ">
3
+ {% if user.bio %}
4
+ <p class="mb-3 f4">
5
+ {{ user.bio }}
6
+ </p>
7
+ {% endif %}
8
+ {%- if user.name %}
9
+ <div class="mb-3">
10
+ {% octicon mark-github height:20 class:"mr-2 v-align-middle" aria-label:GitHub %}
11
+ <a href="https://github.com/{{ user.login }}">
12
+ @{{ user.login }}
13
+ </a>
14
+ </div>
15
+ {%- endif %}
16
+ {%- if user.email %}
17
+ <div class="mb-3">
18
+ {% octicon mail height:20 class:"mr-2 v-align-middle" aria-label:email %}
19
+ <a href="mailto:{{ user.email }}">
20
+ {{ user.email }}
21
+ </a>
22
+ </div>
23
+ {%- endif %}
24
+ {%- if user.location %}
25
+ <div class="mb-3">
26
+ {% octicon location height:20 class:"mr-2 v-align-middle" aria-label:Location %}
27
+ {{ user.location }}
28
+ </div>
29
+ {%- endif %}
30
+ </div>
@@ -1,139 +1,30 @@
1
- {%- assign user = site.github.owner %}
2
-
3
1
  {%- assign style = page.style | default: site.style %}
4
- {%- assign breadcrumbs = page.breadcrumbs | default: false %}
2
+ {%- assign user = site.github.owner %}
5
3
  {%- assign name = site.title | default: user.name | default: user.login %}
6
4
  {%- assign user_img = site.user_image | default: user.avatar_url %}
7
- {%- assign metadata = site.metadata | default: true %}
8
-
9
-
10
5
  <!doctype html>
11
- <html lang="en" class="min-height-full min-width" data-color-mode="auto" data-light-theme="light"
12
- data-dark-theme="dark_dimmed">
6
+ <html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark_dimmed">
13
7
 
14
- {%- include header.html %}
8
+ {%- include head.html %}
15
9
 
16
- <body class="min-height-full">
17
- {%- if style == 'stacked' %}
18
- <div class="container-lg min-height-full">
19
- <div class="Profile text-center">
20
- {%- include masthead.html metadata=metadata %}
21
- {%- if site.repo_info %}
22
- <div class="py-2">
23
- {% include mini-repo-info-card.html class="Box-row-link" %}
24
- </div>
25
- {%- endif %}
26
- {%- if site.social_media %}
27
- <div class="py-2 px-2">
28
- {%- include social.html %}
29
- </div>
30
- {%- endif %}
31
- {%- if site.nav %}
32
- <nav class="Header d-flex flex-column flex-md-row flex-justify-center">
33
- {%- include nav.html %}
34
- </nav>
35
- {%- endif %}
36
- </div>
37
- <div class="color-bg-default">
38
- <div class="d-flex p-2">
39
- {%- if breadcrumbs %}
40
- {%- include breadcrumbs.html %}
41
- {%- endif %}
42
- <div class="flex-1">
43
- </div>
44
- {% include toggle.html %}
45
- </div>
46
- <div class="p-responsive markdown-body ">
47
- {{ content }}
48
- </div>
49
- </div>
50
- </div>
10
+ <body class="min-height-full d-flex flex-column">
11
+ {%- if style == 'topbar' %}
12
+ {% include header-topbar.html %}
13
+ {%- elsif style == 'appbar' %}
14
+ {% include header-appbar.html %}
15
+ {%- elsif style == 'stacked' %}
16
+ {% include header-stacked.html %}
51
17
  {%- elsif style == 'sidebar' %}
52
- <div class="container-xl d-lg-flex min-height-full">
53
- <div class="Profile col-lg-4 border-gray-light pt-6 text-center">
54
- {%- include masthead.html metadata=metadata %}
55
- {%- if site.repo_info %}
56
- <div class="py-2">
57
- {% include mini-repo-info-card.html class="Box-row-link" %}
58
- </div>
59
- {%- endif %}
60
- {%- if site.social_media %}
61
- <div class="py-2 px-2">
62
- {%- include social.html %}
63
- </div>
64
- {%- endif %}
65
- {%- if site.nav %}
66
- <nav class="d-flex flex-column Header">
67
- {%- include nav.html %}
68
- </nav>
69
- {%- endif %}
70
- </div>
71
- <div class="col-lg-8 border-top border-lg-top-0 px-4 color-bg-default">
72
- <div class="py-3">
73
- <div class="d-flex">
74
- {%- if breadcrumbs %}
75
- {%- include breadcrumbs.html %}
76
- {%- endif %}
77
- <div class="flex-1">
78
- </div>
79
- {% include toggle.html %}
80
- </div>
81
- <div class="p-responsive markdown-body">
82
- {{ content }}
83
- </div>
84
- </div>
85
- </div>
86
- </div>
87
- {%- else %}
88
- <div class="Header">
89
- <div class="flex-1">
90
- <div class="d-flex">
91
- <div class="Header-item">
92
- <a href="{{ site.baseurl }}/" class="Header-link f4 d-flex flex-items-center">
93
- {% octicon mark-github height:32 %}
94
- </a>
95
- </div>
96
- <div class="Header-item Header-link Header-item--full">{{ name }}</div>
97
- {%- if site.social_media %}
98
- <div class="Header-item hide-md hide-sm">
99
- {%- include social.html %}
100
- </div>
101
- {%- endif %}
102
- {%- if site.repo_info %}
103
- <div class="Header-item hide-sm">
104
- {% include mini-repo-info-card.html class="Header-link" %}
105
- </div>
106
- {% endif %}
107
- <div class="Header-item mr-0">
108
- <a href="https://github.com/{{ user.login }}" class="Header-link d-flex flex-items-center">
109
- <img class="avatar img-cover" height="32" width="32" alt="{{ name }}"
110
- src="{{ user_img | relative_url }}">
111
- </a>
112
- </div>
113
- </div>
114
- {%- if site.nav %}
115
- <div class="d-flex">
116
- <div class="Header-item">
117
- {%- include nav.html %}
118
- </div>
119
- </div>
120
- {%- endif %}
121
- </div>
18
+ <div class="d-lg-flex">
19
+ {% include header-sidebar.html %}
20
+ {%- endif %}
21
+
22
+ <div class="flex-column flex-1 min-width-0">
23
+ {{ content }}
122
24
  </div>
123
- <div class="container-xl p-3 color-bg-default flex-1">
124
- <div class="d-flex pb-2">
125
- {%- if breadcrumbs %}
126
- {%- include breadcrumbs.html %}
127
- {%- endif %}
128
- <div class="flex-1">
129
- </div>
130
- {% include toggle.html %}
131
- </div>
132
- <div class="p-responsive markdown-body">
133
- {{ content }}
134
- </div>
25
+ {% if style== 'sidebar' %}
135
26
  </div>
136
- {%- endif %}
27
+ {% endif %}
137
28
 
138
29
  {%- include footer.html %}
139
30
  </body>
data/_layouts/home.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
4
  <div class="py-3">
5
5
  {%- assign posts_total = site.posts | size %}
@@ -10,22 +10,17 @@ layout: default
10
10
  {%- endunless %}
11
11
 
12
12
  {%- if site.links %}
13
- <h2 class="mb-3">Links</h2>
14
13
  {%- include links.html %}
15
14
  {%- endif %}
16
15
 
17
16
  {%- unless posts_total == 0 %}
18
17
  <h2 class="mb-3">Blog</h2>
19
- {%- include posts.html limit=posts_limit %}
18
+ {%- include post-timeline.html limit=posts_limit %}
20
19
  {%- if site.posts.size > post_limit %}
21
- <div>
22
- <a href="{{ site.paginate_path | relative_url | replace: 'page:num', '' }}" class="btn btn-block mb-2">Read more</a>
23
- </div>
24
20
  {%- endif %}
25
21
  {%- endunless %}
26
22
 
27
23
  {%- if site.repositories %}
28
- <h2 class="mb-3">Repositories</h2>
29
24
  {%- include repositories.html %}
30
25
  {%- endif %}
31
26
  </div>
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="py-3">
6
+ {%- include masthead.html %}
7
+ {%- unless content == "" %}
8
+ {{ content }}
9
+ {%- endunless %}
10
+
11
+ {%- if site.links %}
12
+ <div class="d-flex mt-4 p-responsive">
13
+ {%- include links.html %}
14
+ </div>
15
+ {%- endif %}
16
+ </div>
data/_layouts/page.html CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="markdown-body py-3">
5
- <h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
4
+
5
+ <div class="container-xl p-3 p-responsive color-bg-default markdown-body">
6
6
  {{ content }}
7
7
  </div>
@@ -2,21 +2,16 @@
2
2
  layout: page
3
3
  ---
4
4
  {{ content }}
5
+ <div class="d-flex flex-wrap gutter-spacious">
5
6
  <!-- This loops through the paginated posts -->
6
7
  {%- for post in paginator.posts %}
7
- <h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
8
- <p class="author">
9
- <span class="date">Published {{ post.date | date: "%Y-%m-%d" }}</span>
10
- <span class="author">{{ post.author }}</span>
11
- </p>
12
- <div class="content mb-6">
13
- {{ post.excerpt }}
14
- </div>
15
- <div>
16
- <a href="{{ post.url | relative_url }}" class="btn btn-block mb-2">Read more</a>
17
- </div>
8
+ {%- if post == paginator.posts.first %}
9
+ {%- include post-feature-card.html %}
10
+ {%- else %}
11
+ {%- include post-card.html %}
12
+ {%- endif %}
18
13
  {% endfor %}
19
-
14
+ </div>
20
15
  <!-- Pagination links -->
21
16
  <div class="paginate-container">
22
17
  <div role="navigation" aria-label="Pagination" class="d-flex d-md-inline-block pagination">