Skip to content

Commit

Permalink
Fixed spaces and added button.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
sproogen committed Jun 16, 2018
1 parent 3ee85bb commit 6988701
Show file tree
Hide file tree
Showing 16 changed files with 330 additions and 337 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ So now you will be able to see the demo template at your github url. You can can

##### _config.yml
This will contain all the of the main configuration for your resume such as your name, email, social media links and about me content. It will also allow you to change the titles of some of the content sections.
A full example of the _config.yml can be found [here](https://github.com/sproogen/resume-theme/blob/master/_config.yml)

##### _data/education.yml
A list of all your education, each education will follow this format
Expand Down
26 changes: 13 additions & 13 deletions _includes/about.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<div class="container intro-container">
<h3>{{ site.about_title | default: "About Me" }}</h3>
<div class="row clearfix">
{%- if site.about_profile_image -%}
<div class="col-xs-12 col-sm-4 col-md-3">
<span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})" />
</div>
{%- endif -%}
<div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9{%- endif -%}">
{% assign paragraphs = site.about_content | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
<h3>{{ site.about_title | default: "About Me" }}</h3>
<div class="row clearfix">
{%- if site.about_profile_image -%}
<div class="col-xs-12 col-sm-4 col-md-3">
<span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})" />
</div>
{%- endif -%}
<div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9{%- endif -%}">
{% assign paragraphs = site.about_content | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
</div>
38 changes: 19 additions & 19 deletions _includes/education.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<div class="container education-container">
<h3>{{ site.education_title | default: "Education" }}</h3>
<h3>{{ site.education_title | default: "Education" }}</h3>

{% for education in site.data.education %}
<div class="row clearfix education">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<h4>{{ education.name }}</h4>
<p>{{ education.dates }}</p>
<p><b>{{ education.qualification }}</b></p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
{%- if education.quote -%}
<p class="quote">{{ education.quote }}</p>
{%- endif -%}
{% assign paragraphs = education.description | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
{% endfor %}
{% for education in site.data.education %}
<div class="row clearfix education">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<h4>{{ education.name }}</h4>
<p>{{ education.dates }}</p>
<p><b>{{ education.qualification }}</b></p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
{%- if education.quote -%}
<p class="quote">{{ education.quote }}</p>
{%- endif -%}
{% assign paragraphs = education.description | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
44 changes: 22 additions & 22 deletions _includes/experience.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<div class="container experience-container">
<h3>{{ site.experience_title | default: "Experience" }}</h3>
<h3>{{ site.experience_title | default: "Experience" }}</h3>

{% for experience in site.data.experience %}
<div class="row clearfix experience">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<h4>{{ experience.company }}</h4>
{%- if experience.link -%}
<a href="http://{{ experience.link }}" target="_blank">{{ experience.link }}</a>
{%- endif -%}
<p>{{ experience.dates }}</p>
<p><b>{{ experience.job_title }}</b></p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
{%- if experience.quote -%}
<p class="quote">{{ experience.quote }}</p>
{%- endif -%}
{% assign paragraphs = experience.description | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
{% endfor %}
{% for experience in site.data.experience %}
<div class="row clearfix experience">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<h4>{{ experience.company }}</h4>
{%- if experience.link -%}
<a href="http://{{ experience.link }}" target="_blank">{{ experience.link }}</a>
{%- endif -%}
<p>{{ experience.dates }}</p>
<p><b>{{ experience.job_title }}</b></p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
{%- if experience.quote -%}
<p class="quote">{{ experience.quote }}</p>
{%- endif -%}
{% assign paragraphs = experience.description | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
13 changes: 7 additions & 6 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<div class="container footer-container">
<p>
{{ site.name | escape }} -
<a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
{%- if site.footer_show_references -%}
&nbsp;- References on request</p>
{%- endif -%}
<p>
{{ site.name | escape }} -
<a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
{%- if site.footer_show_references -%}
&nbsp;- References on request
{%- endif -%}
</p>
</div>
18 changes: 9 additions & 9 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

{%- seo -%}
{%- seo -%}

<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}">

{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
</head>
178 changes: 89 additions & 89 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,93 +1,93 @@
<div class="container header-contianer">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-8 header-left">
<h1>{{ site.name | escape }}</h1>
<h2>{{ site.title | escape }}</h2>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
<ul class="icons">
{%- if site.dribbble_username -%}
<li>
<a target="_blank" href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-dribbble"></i>
</a>
</li>
{%- endif -%}
{%- if site.facebook_username -%}
<li>
<a target="_blank" href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-facebook"></i>
</a>
</li>
{%- endif -%}
{%- if site.flickr_username -%}
<li>
<a target="_blank" href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-flickr"></i>
</a>
</li>
{%- endif -%}
{%- if site.github_username -%}
<li>
<a target="_blank" href="https://github.com/{{ site.github_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-github"></i>
</a>
</li>
{%- endif -%}
{%- if site.instagram_username -%}
<li>
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-instagram"></i>
</a>
</li>
{%- endif -%}
{%- if site.linkedin_username -%}
<li>
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-linkedin"></i>
</a>
</li>
{%- endif -%}
{%- if site.pinterest_username -%}
<li>
<a target="_blank" href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-pinterest"></i>
</a>
</li>
{%- endif -%}
{%- if site.twitter_username -%}
<li>
<a target="_blank" href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-twitter"></i>
</a>
</li>
{%- endif -%}
{%- if site.youtube_username -%}
<li>
<a target="_blank" href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-youtube-play"></i>
</a>
</li>
{%- endif -%}
{%- if site.googleplus_username -%}
<li>
<a target="_blank" href="https://plus.google.com/{{ site.googleplus_username| escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-google-plus"></i>
</a>
</li>
{%- endif -%}
</ul>
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-8 header-left">
<h1>{{ site.name | escape }}</h1>
<h2>{{ site.title | escape }}</h2>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
<ul class="icons">
{%- if site.dribbble_username -%}
<li>
<a target="_blank" href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-dribbble"></i>
</a>
</li>
{%- endif -%}
{%- if site.facebook_username -%}
<li>
<a target="_blank" href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-facebook"></i>
</a>
</li>
{%- endif -%}
{%- if site.flickr_username -%}
<li>
<a target="_blank" href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-flickr"></i>
</a>
</li>
{%- endif -%}
{%- if site.github_username -%}
<li>
<a target="_blank" href="https://github.com/{{ site.github_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-github"></i>
</a>
</li>
{%- endif -%}
{%- if site.instagram_username -%}
<li>
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-instagram"></i>
</a>
</li>
{%- endif -%}
{%- if site.linkedin_username -%}
<li>
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-linkedin"></i>
</a>
</li>
{%- endif -%}
{%- if site.pinterest_username -%}
<li>
<a target="_blank" href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-pinterest"></i>
</a>
</li>
{%- endif -%}
{%- if site.twitter_username -%}
<li>
<a target="_blank" href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-twitter"></i>
</a>
</li>
{%- endif -%}
{%- if site.youtube_username -%}
<li>
<a target="_blank" href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-youtube-play"></i>
</a>
</li>
{%- endif -%}
{%- if site.googleplus_username -%}
<li>
<a target="_blank" href="https://plus.google.com/{{ site.googleplus_username| escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-google-plus"></i>
</a>
</li>
{%- endif -%}
</ul>

{%- if site.email -%}
<p>
Email: <a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
</p>
{%- endif -%}
{%- if site.website -%}
<p>
Web: <a href="http://{{ site.website }}" target="_blank">{{ site.website | escape }}</a>
</p>
{%- endif -%}
</div>
{%- if site.email -%}
<p>
Email: <a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
</p>
{%- endif -%}
{%- if site.website -%}
<p>
Web: <a href="http://{{ site.website }}" target="_blank">{{ site.website | escape }}</a>
</p>
{%- endif -%}
</div>
</div>
</div>
16 changes: 8 additions & 8 deletions _includes/more.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="container more-container">
<h3>{{ site.more_title | default: "A Little More About Me" }}</h3>
<div class="row clearfix">
<div class="col-md-12">
{% assign paragraphs = site.more_content | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
<h3>{{ site.more_title | default: "A Little More About Me" }}</h3>
<div class="row clearfix">
<div class="col-md-12">
{% assign paragraphs = site.more_content | strip | newline_to_br | split: '<br />' %}
{% for paragraph in paragraphs %}
{{ paragraph | markdownify }}
{% endfor %}
</div>
</div>
</div>
Loading

0 comments on commit 6988701

Please sign in to comment.