-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add prettier. Format liquid files * Update files ignored by prettier * Auto-fix prettier violations --------- Co-authored-by: Sheldon Bachstein <[email protected]>
- Loading branch information
Sheldon Bachstein
and
Sheldon Bachstein
authored
Dec 21, 2023
1 parent
e42b8aa
commit 475dcdf
Showing
21 changed files
with
982 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
_site/ | ||
.DS_Store | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"plugins": ["@shopify/prettier-plugin-liquid"], | ||
"overrides": [ | ||
{ | ||
"files": "_includes/*.html", | ||
"options": { | ||
"parser": "liquid-html" | ||
} | ||
}, | ||
{ | ||
"files": "_layouts/*.html", | ||
"options": { | ||
"parser": "liquid-html" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Ignore build files | ||
_site/ | ||
|
||
// Ignore minified js/css/etc bundles | ||
assets/js/ | ||
**/*.min.css | ||
**/*.min.js | ||
css_new/uswds.css | ||
js/analytics_lib.js | ||
css/dataTables.bootstrap.css | ||
js/galleria/galleria.js | ||
js/dataTables.bootstrap.js | ||
js/galleria/ | ||
js/html5shiv.js | ||
js/jquery.* | ||
js/uswds.js | ||
|
||
// Ignore dependencies | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{% assign project_slug = include.project_slug %} | ||
{% assign project = site.projects | where: "slug", project_slug | first %} | ||
{% assign project_slug = include.project_slug %} {% assign project = | ||
site.projects | where: "slug", project_slug | first %} | ||
|
||
<script> | ||
// console.log("{{ project_name }}"); | ||
// console.log("{{ project }}"); --> | ||
</script> | ||
|
||
<div class="usa-width-one-third"> | ||
<a href="{{ project.link }}" target="_blank"><img src="{{ site.baseurl }}/images/project_thumbnails/{{ project.image }}"></a> | ||
<h3>{{ project.project_name }}</h3> | ||
<p>{{ project.content }}</p> | ||
<a href="{{ project.link }}" target="_blank" | ||
><img | ||
src="{{ site.baseurl }}/images/project_thumbnails/{{ project.image }}" | ||
/></a> | ||
<h3>{{ project.project_name }}</h3> | ||
<p>{{ project.content }}</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.