Pārlūkot izejas kodu

added career profile as a variable in the _config.yml so it's easier to change it

Nelson Estevão 7 gadi atpakaļ
vecāks
revīzija
02e7995b9e
2 mainītis faili ar 11 papildinājumiem un 5 dzēšanām
  1. 4 0
      _config.yml
  2. 7 5
      _includes/career-profile.html

+ 4 - 0
_config.yml

@@ -16,6 +16,10 @@ baseurl: '/online-cv' #change it according to your repository name
 name: Alan Doe
 tagline: Full Stack Developer
 pic: profile.png  #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below
+summary: 'Summarise your career here lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+You can <a href="#" target="_blank">download this free resume/CV template here</a>. Aenean
+commodo ligula eget dolor aenean massa. Cum sociis natoque penatibus et magnis dis parturient
+montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu.'
 
 #sidebar links
 email: hello@webjeda.com

+ 7 - 5
_includes/career-profile.html

@@ -1,6 +1,8 @@
+{% if site.summary %}
 <section class="section summary-section">
-<h2 class="section-title"><i class="fa fa-user"></i>Career Profile</h2>
-<div class="summary">
-    <p>Summarise your career here lorem ipsum dolor sit amet, consectetuer adipiscing elit. You can <a href="#" target="_blank">download this free resume/CV template here</a>. Aenean commodo ligula eget dolor aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu.</p>
-</div><!--//summary-->
-</section><!--//section-->
+  <h2 class="section-title"><i class="fa fa-user"></i>Career Profile</h2>
+    <div class="summary">
+      <p>{{ site.summary }}</p>
+    </div><!--//summary-->
+</section><!--//section-->
+{% endif %}