Skip to content

Commit

Permalink
Fix include statements to be compatible with Nunjucks templates
Browse files Browse the repository at this point in the history
  • Loading branch information
natebass committed Aug 10, 2023
1 parent 15d93df commit 71b45ac
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion _includes/home/deprecated.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<h3>From the Blog</h3>

{% include home/blog-excerpt.html %}
{% include "home/blog-excerpt.html" %}

</div><!-- /blog content -->

Expand Down
2 changes: 1 addition & 1 deletion _includes/home/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="drop-shadow">We are Code for Sacramento</h1>
<p class="drop-shadow">A collective of civic-minded volunteers who contribute their skills toward using the web as a platform for local government and community service.</p>

{% include shared/email_sign_up_form.html %}
{% include "shared/email_sign_up_form.html" %}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/home/main_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h4>Catalyzing the Open Data Economy</h4>
<p class="lead">Accessible public data will enable the creation of local tech startups that solve real world problems.</p>
</div>
<div class="col-md-4">
{% include shared/twitter-widget.html %}
{% include "shared/twitter-widget.html" %}
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions _layouts/codeofconduct.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">

{% include shared/head.html %}
{% include "shared/head.html" %}

{% include shared/header.html %}
{% include "shared/header.html" %}

<body>

Expand All @@ -17,8 +17,8 @@

</div>

{% include shared/footer.html %}
{% include "shared/footer.html" %}

</body>

</html>
</html>
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">

{% include shared/head.html %}
{% include "shared/head.html" %}

{% include shared/header.html %}
{% include "shared/header.html" %}

<body>

Expand All @@ -18,7 +18,7 @@ <h2>{{ page.title }}</h2>

</div>

{% include shared/footer.html %}
{% include "shared/footer.html" %}

</body>

Expand Down
16 changes: 8 additions & 8 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<!DOCTYPE html>
<html lang="en">

{% include shared/head.html %}
{% include "shared/head.html" %}

{% include shared/header.html %}
{% include "shared/header.html" %}

{% include home/hero.html %}
{% include "home/hero.html" %}

{% include home/io-cupid.html %}
{% include "home/io-cupid.html" %}

{% include home/featured-apps.html %}
{% include "home/featured-apps.html" %}

{% include home/main_description.html %}
{% include "home/main_description.html" %}

{% include home/supporters.html %}
{% include "home/supporters.html" %}

{% include shared/footer.html %}
{% include "shared/footer.html" %}

</html>
8 changes: 4 additions & 4 deletions _layouts/project.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">

{% include shared/head.html %}
{% include "shared/head.html" %}

{% include shared/header.html %}
{% include "shared/header.html" %}

<body>

Expand Down Expand Up @@ -77,9 +77,9 @@ <h4>Issues</h4>

</div>

{% include shared/footer.html %}
{% include "shared/footer.html" %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="../js/gh-project.js"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion what-we-do.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ layout: default
permalink: /what-we-do/
---

{% include about/connecting.html %}
{% include "about/connecting.html" %}
2 changes: 1 addition & 1 deletion who-we-are.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ layout: default
permalink: /who-we-are/
---

{% include about/innovators.html %}
{% include "about/innovators.html" %}

0 comments on commit 71b45ac

Please sign in to comment.