File tree 3 files changed +34
-8
lines changed
3 files changed +34
-8
lines changed Original file line number Diff line number Diff line change 1
1
message : >
2
- This is my message .
2
+ Here's a convenient stack of my personal internet links .
3
3
4
4
links :
5
+ - title : My Website
6
+ icon : globe2
7
+ url : /
5
8
- title : Twitter
6
9
icon : twitter
7
- url : https:// twitter.com/BenJetson # TODO use site.yml
10
+ social_key : twitter
8
11
- title : Instagram
9
12
icon : instagram
10
- url : https:// instagram.com/bfgodfr # TODO use site.yml
13
+ social_key : instagram
11
14
- title : GitHub
12
15
icon : github
13
- url : https:// github.com/BenJetson # TODO use site.yml
16
+ social_key : github
14
17
- title : LinkedIn
15
18
icon : linkedin
16
- url : https://linkedin.com # TODO use site.yml
19
+ social_key : linkedin
20
+ - title : My Resume
21
+ icon : file-earmark-person
22
+ url : /resume
23
+ - title : Contact Me
24
+ icon : envelope
25
+ url : /contact
Original file line number Diff line number Diff line change 4
4
@extend .p-3 ;
5
5
6
6
text-align : center ;
7
+ padding-top : 0 !important ;
7
8
8
9
// Make the stack have the same color as the bottom of the gradient from the
9
10
// introduction banner at the top of the viewport.
Original file line number Diff line number Diff line change 6
6
{% include introduction.html %}
7
7
8
8
< section class ="stack ">
9
- {% assign stack = site.data.stack %}
9
+ {%- assign stack = site.data.stack - %}
10
10
11
- < p > {{stack.message | markdownify}}</ p >
11
+ < div class ="message "> {{stack.message | strip_newlines | markdownify}}</ div >
12
+
13
+ {% comment %}
14
+ <!-- prettier-ignore -->
15
+ {% endcomment %}
12
16
13
17
{% for item in stack.links %}
14
18
19
+ {% assign url = "#" %}
20
+ {% if item.url %}
21
+ {% assign url = item.url %}
22
+ {% elsif item.social_key %}
23
+ {% assign url = site.social_urls[item.social_key] %}
24
+ {% endif %}
25
+
26
+
27
+ {% comment %}
28
+ <!-- prettier-ignore -->
29
+ {% endcomment %}
30
+
15
31
< div class ="stack-item ">
16
- < a href ="{{link. url}} " class ="stretched-link ">
32
+ < a href ="{{url}} " class ="stretched-link ">
17
33
{% comment %}
18
34
<!-- prettier-ignore -->
19
35
{% endcomment %}
You can’t perform that action at this time.
0 commit comments