Skip to content

Commit

Permalink
Merge pull request #64 from tastapod/services-title-63
Browse files Browse the repository at this point in the history
use title from /services/_index.md or "Our Services" as fallback
  • Loading branch information
JugglerX authored Nov 26, 2023
2 parents d18f9c9 + 084fab0 commit c4b2795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2 class="text-primary text-capitalize">{{ .Title }}</h2>
<div class="container pt-8 pb-8 pb-md-14 pt-md-14">
<div class="row justify-content-start">
<div class="col-12">
<h2 class="text-center mb-3">Our Services</h2>
<h2 class="text-center mb-3">{{ with .Site.GetPage "/services/" }}{{ .Title | default "Our Services" }}{{ end }}</h2>
</div>
{{ range first 6 (sort $services ".Params.weight") }}
<div class="col-12 col-md-4 mb-1">
Expand Down

0 comments on commit c4b2795

Please sign in to comment.