Skip to content

Commit 08ef25b

Browse files
committed
Dynamic porfolio heading
Allow the user to configure the portfolio heading title through the settings.
1 parent df3fec8 commit 08ef25b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ description: Write an awesome description for your new site here. You can edit t
6060
parallax_image_one: assets/images/startup3.jpg # These are the images used for the parallax background
6161
parallax_image_two: assets/images/startup3.jpg
6262
63+
# Settings for the porfolio section
64+
65+
portfolio_heading: Portfolio
66+
portfolio_type: #cards or carousel
67+
6368
project_one: "First Project"
6469
project_one_description: Describe your project!
6570
project_one_url: https://github.com/jameshamann/jekyll-material-theme
@@ -82,8 +87,6 @@ project_four_description: Describe your project!
8287
project_four_url: https://github.com/jameshamann/jekyll-material-theme
8388
project_four_icon: restaurant
8489
85-
portfolio_type: #cards or carousel
86-
8790
# Skill icons from https://konpa.github.io/devicon/
8891
8992
skills:

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h5 class="header col s12 light">{{ site.description }}</h5>
2525
<div class="container" style="padding:20px;">
2626
<div id="portfolio" class="section scrollspy">
2727

28-
<h3 style="text-align:center;">Portfolio</h3>
28+
<h3 style="text-align:center;">{{site.portfolio_heading}}</h3>
2929

3030
{% include portfolio_{{site.portfolio_type}}.html %}
3131

0 commit comments

Comments
 (0)