modern-resume-theme 2.0.3 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c549f70e6c36663bb5750df5ae61495381bf3bd97d8a4cf949497e184a702924
4
- data.tar.gz: 7c5eb31196ea91906f33c71fb20aa0040fc831aa9be77a0df7c9c9557dd17ae0
3
+ metadata.gz: 154de945e4c74d5c300148ec8be4c34acb8ffb86ce35964019f51ff949d5786a
4
+ data.tar.gz: fd4f66843d14684142316d34c77346d2133a2af753cfe8565dce99aac9c0253e
5
5
  SHA512:
6
- metadata.gz: f3feb687747622efaefdf18005e156faaacba4dd77a830a962d163ea1c242e18e78795bae41ba5018d3f262acbb01f7a140e31c6b4bbc6a29befc6cd65131679
7
- data.tar.gz: 4ff48adbf0be1920ecba10e06bed7592fbeb3ed5a193b2ee81a250f6d68ac97d8d634f000757abc6615953ebc66e440060ab9a058c1c4edfca459231e9486859
6
+ metadata.gz: 61842041b4b959a5427a7efd6d7cf4eb8e9a74642098206c102bab80bb3cc7dba844b8abe7ce24c2f281e46c00ef06cd08126bbaecd80a2b3d6f5510ca7c2819
7
+ data.tar.gz: e68db5ed6c2955c999a5f3fd953d1587b7095f5b8a109a7016fea1c9f7598f7a1ba1d1bc3ebd19f9cb2394f9c3a6d9b1b1465eb05107f553f7e81ce76de2278d
data/README.md CHANGED
@@ -112,6 +112,9 @@ When dark mode is `true` the site will show the dark theme for everyone
112
112
  When dark mode is `false` the site will not show the dark theme, but it will still respect the users device preferences
113
113
  When dark mode is `never` the site will never be shown in the dark theme
114
114
 
115
+ #### Heading Anchors
116
+ You can link to section titles using a Markdown anchor link, e.g.: `[About me](#about-me)`. The link after the `#` is the slug version of the title.
117
+
115
118
  ### `assets/main.scss`
116
119
  Add any css changes or additions you want to make here after the line `@import 'modern-resume-theme';`
117
120
 
data/_includes/about.html CHANGED
@@ -1,5 +1,6 @@
1
1
  <div class="container intro-container">
2
- <h3>{{ site.about_title | default: "About Me" }}</h3>
2
+ <h3 id="{{ site.about_title | slugify | default: 'about-me' }}">{{ site.about_title | default:
3
+ "About Me" }}</h3>
3
4
  <div class="row clearfix">
4
5
  {%- if site.about_profile_image -%}
5
6
  <div class="col-xs-12 col-sm-4 col-md-3 no-print">
@@ -1,4 +1,4 @@
1
- <div class="container header-contianer">
1
+ <div class="container header-container">
2
2
  <div class="row">
3
3
  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-8 header-left">
4
4
  <h1>{{ site.name | escape }}</h1>
@@ -97,6 +97,13 @@
97
97
  </a>
98
98
  </li>
99
99
  {%- endif -%}
100
+ {%- if site.googlescholar_username -%}
101
+ <li>
102
+ <a target="_blank" href="https://scholar.google.com/citations?user={{ site.googlescholar_username| escape }}" class="button button--sacnite button--round-l">
103
+ <i class="fab fa-google" title="Google scholar link"></i>
104
+ </a>
105
+ </li>
106
+ {%- endif -%}
100
107
  {% for link in site.additional_links %}
101
108
  <li>
102
109
  {% include a.html href=link.url class="button button--sacnite button--round-l" %}
@@ -1,7 +1,7 @@
1
1
  {% for item in include.content %}
2
- <div class="row clearfix layout layout-{{item.layout | default: 'left'}}">
2
+ <div class="row clearfix layout layout-{{item.layout | default: 'left'}} border-{{item.border | default: 'no'}}">
3
3
  <div class="col-xs-12 col-sm-4 col-md-3 col-print-12 details">
4
- <h4>{{ item.title }}</h4>
4
+ <h4 id="{{ item.title | slugify }}">{{ item.title }}</h4>
5
5
  {%- if item.sub_title -%}<p><b>{{ item.sub_title }}</b></p>{%- endif -%}
6
6
  {%- if item.caption -%}<p>{{ item.caption }}</p>{%- endif -%}
7
7
 
@@ -1,5 +1,5 @@
1
1
  <div class="container education-container">
2
- <h3>{{ site.education_title | default: "Education" }}</h3>
2
+ <h3 id="{{ site.education_title | slugify | default: 'education' }}">{{ site.education_title | default: "Education" }}</h3>
3
3
  {% for education in site.data.education %}
4
4
  {% include {{ education.layout | default: 'left' | append: ".html" | prepend: "v1/" }} item=education %}
5
5
  {% endfor %}
@@ -1,5 +1,5 @@
1
1
  <div class="container experience-container">
2
- <h3>{{ site.experience_title | default: "Experience" }}</h3>
2
+ <h3 id="{{ site.experience_title | slugify | default: 'experience' }}">{{ site.experience_title | default: "Experience" }}</h3>
3
3
  {% for experience in site.data.experience %}
4
4
  {% include {{ experience.layout | default: 'left' | append: ".html" | prepend: "v1/" }} item=experience %}
5
5
  {% endfor %}
@@ -1,5 +1,5 @@
1
1
  <div class="container more-container">
2
- <h3>{{ site.more_title | default: "A Little More About Me" }}</h3>
2
+ <h3 id="{{ site.more_title | slugify | default: 'a-little-bit-more-about-me' }}">{{ site.more_title | default: "A Little More About Me" }}</h3>
3
3
  <div class="row clearfix">
4
4
  <div class="col-md-12">
5
5
  {{ site.more_content | strip | markdownify }}
@@ -1,5 +1,5 @@
1
1
  <div class="container projects-container">
2
- <h3>{{ site.projects_title | default: "Projects" }}</h3>
2
+ <h3 id="{{ site.projects_title | slugify | default: 'projects'}}">{{ site.projects_title | default: "Projects" }}</h3>
3
3
  {% for project in site.data.projects %}
4
4
  {% include {{ project.layout | default: 'left' | append: ".html" | prepend: "v1/" }} item=project %}
5
5
  {% endfor %}
@@ -19,11 +19,7 @@
19
19
  {%- if site.version == 2 -%}
20
20
  {% for section in site.content %}
21
21
  <div class="container {{ section.layout }}-container">
22
- {%- if section.id -%}
23
- <h3 id="{{ section.id }}">{{ section.title }}</h3>
24
- {% else %}
25
- <h3>{{ section.title }}</h3>
26
- {%- endif -%}
22
+ <h3 id="{{ section.title | slugify }}">{{ section.title }}</h3>
27
23
  {% include {{ section.layout | prepend: "section-" | append: ".html" }} content=section.content %}
28
24
  </div>
29
25
  {% endfor %}
data/_sass/base.scss CHANGED
@@ -162,7 +162,7 @@ body {
162
162
  }
163
163
  }
164
164
 
165
- .header-contianer {
165
+ .header-container {
166
166
  margin-top:50px;
167
167
  }
168
168
 
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  @media screen and (max-width: 768px) {
17
- .header-contianer div{
17
+ .header-container div{
18
18
  text-align: center;
19
19
  }
20
20
 
@@ -58,6 +58,11 @@
58
58
  }
59
59
  }
60
60
 
61
+ .border-weak {
62
+ padding-bottom: 8px;
63
+ border-bottom: dashed 1px #CCCCCC;
64
+ }
65
+
61
66
  .layout {
62
67
  margin-top: 3rem;
63
68
  display: flex;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modern-resume-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Grant