Skip to content

Commit

Permalink
Add title to page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzschmid committed Feb 16, 2021
1 parent de77779 commit f3c8271
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
jekyll-theme-conference (3.1.2)
jekyll-theme-conference (3.1.3)
jekyll (~> 4.0)

GEM
Expand Down
4 changes: 4 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{% include partials/header.html %}

{% if page.title -%}
<h1 class="font-weight-light mb-2">{{ page.title }}</h1>
{%- endif %}

{{ content }}

{% include partials/footer.html %}
2 changes: 1 addition & 1 deletion jekyll-theme-conference.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-theme-conference"
spec.version = "3.1.2"
spec.version = "3.1.3"
spec.authors = ["Lorenz Schmid"]
spec.email = ["lorenzschmid@users.noreply.github.com"]

Expand Down

0 comments on commit f3c8271

Please sign in to comment.