-
Notifications
You must be signed in to change notification settings - Fork 0
upgrade layout structure for hugo 146+ #234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
28620f1
upgrade layout structure for hugo 146+
AucT c3e5bef
updates scripts
pftg b715667
updates tests
pftg b32e879
cleanup
pftg 3bdf6b6
test: upds screens
pftg 119d6b3
test: upds screens
pftg cbaba0b
remove outputFormats.html setting
AucT 49b7ef1
test: fix 404
pftg b8f87f8
test: upds screens
pftg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 +1,4 @@ | ||
| #!/usr/bin/env sh | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| #hugo --minify --environment production --forceSyncStatic --cleanDestinationDir --logLevel warn "$@" | ||
| bin/docked hugo --minify --environment production --forceSyncStatic --cleanDestinationDir --logLevel warn "$@" |
This file contains hidden or 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 hidden or 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,5 +1,3 @@ | ||
| #!/usr/bin/env sh | ||
|
|
||
| set -e | ||
|
|
||
| bin/compose run --rm --quiet-pull --remove-orphans "$@" | ||
| bin/dc run --rm --quiet-pull --remove-orphans "$@" |
This file contains hidden or 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 hidden or 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 hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-388 Bytes
(99%)
test/fixtures/screenshots/linux/mobile/free_consultation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.29 KB
(150%)
test/fixtures/screenshots/linux/mobile/nav/hamburger_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.33 KB
(120%)
test/fixtures/screenshots/linux/mobile/nav/hamburger_menu/services.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-36 KB
(82%)
test/fixtures/screenshots/macos/desktop/blog/index/_pagination.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-209 Bytes
(100%)
test/fixtures/screenshots/macos/desktop/free_consultation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-577 Bytes
(99%)
test/fixtures/screenshots/macos/mobile/free_consultation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.36 KB
(150%)
test/fixtures/screenshots/macos/mobile/nav/hamburger_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.29 KB
(120%)
test/fixtures/screenshots/macos/mobile/nav/hamburger_menu/services.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
90 changes: 45 additions & 45 deletions
90
...layouts/partials/clients/grid-single.html → ...ayouts/_partials/clients/grid-single.html
This file contains hidden or 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,45 +1,45 @@ | ||
| {{ $image := .Resources.Get .Params.client.cover_image }} | ||
| {{ $logo := .Resources.Get .Params.client.logo }} | ||
| {{ if eq (.Scratch.Get "logoVariant") "white" }} | ||
| {{ $logo = .Resources.Get .Params.client.logo_white_version }} | ||
| {{ end }} | ||
| {{ .Scratch.Delete "logoVariant" }} | ||
| <div class="pp-content-post pp-content-grid-post pp-grid-custom post-3206 jt_case_studies type-jt_case_studies status-publish has-post-thumbnail hentry jt_case_studies_category-amazon-web-services jt_case_studies_category-elastisearch jt_case_studies_category-postgresql jt_case_studies_category-react-js jt_case_studies_category-ruby-on-rails" itemscope itemtype="https://schema.org/CreativeWork" data-id="3206"> | ||
| <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" content="{{ .Title }}"/> | ||
| <meta itemprop="datePublished" content="{{ dateFormat "2006-01-02" .Date }}" /> | ||
| <meta itemprop="dateModified" content="{{ dateFormat "2006-01-02" .Lastmod }}" /> | ||
| <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> | ||
| <meta itemprop="name" content="JetThoughts"> | ||
| </div> | ||
| <div itemscope itemprop="author" itemtype="https://schema.org/Person"> | ||
| <meta itemprop="name" content="{{.Params.author }}"/> | ||
| </div> | ||
| <div itemscope itemprop="image" itemtype="https://schema.org/ImageObject"> | ||
| <meta itemprop="url" | ||
| content="{{ $image.RelPermalink }}" /> | ||
| <meta itemprop="width" content="{{ $image.Width }}" /> | ||
| <meta itemprop="height" content="{{ $image.Height }}" /> | ||
| </div> | ||
| <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter"> | ||
| <meta itemprop="interactionType" content="https://schema.org/CommentAction"/> | ||
| <meta itemprop="userInteractionCount" content="0"/> | ||
| </div> | ||
| <div class="pp-content-grid-post-image"> | ||
| <a href="{{ .RelPermalink }}"> | ||
| {{ partial "img/client-logo.html" (dict "image" $logo "title" .Params.client.name) }} | ||
| </a> | ||
| </div> | ||
| <div class="pp-content-grid-post-text"> | ||
| <div class="excerpt"> | ||
| <p>{{ .Params.excerpt }}</p> | ||
| </div> | ||
| <div class="case-category"> | ||
| <ul class='fl-jt_case_studies_category'> | ||
| {{ range .Params.categories }} | ||
| <li><span class="{{ . | urlize }}">{{ . }}</span></li> | ||
| {{ end }} | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {{ $image := .Resources.Get .Params.client.cover_image }} | ||
|
|
||
| {{ $logo := .Resources.Get .Params.client.logo }} | ||
| {{ if eq (.Scratch.Get "logoVariant") "white" }} | ||
| {{ $logo = .Resources.Get .Params.client.logo_white_version }} | ||
| {{ end }} | ||
| {{ .Scratch.Delete "logoVariant" }} | ||
| <div class="pp-content-post pp-content-grid-post pp-grid-custom post-3206 jt_case_studies type-jt_case_studies status-publish has-post-thumbnail hentry jt_case_studies_category-amazon-web-services jt_case_studies_category-elastisearch jt_case_studies_category-postgresql jt_case_studies_category-react-js jt_case_studies_category-ruby-on-rails" itemscope itemtype="https://schema.org/CreativeWork" data-id="3206"> | ||
| <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" content="{{ .Title }}"/> | ||
| <meta itemprop="datePublished" content="{{ dateFormat "2006-01-02" .Date }}" /> | ||
| <meta itemprop="dateModified" content="{{ dateFormat "2006-01-02" .Lastmod }}" /> | ||
| <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> | ||
| <meta itemprop="name" content="JetThoughts"> | ||
| </div> | ||
| <div itemscope itemprop="author" itemtype="https://schema.org/Person"> | ||
| <meta itemprop="name" content="{{.Params.author }}"/> | ||
| </div> | ||
| <div itemscope itemprop="image" itemtype="https://schema.org/ImageObject"> | ||
| <meta itemprop="url" | ||
| content="{{ $image.RelPermalink }}" /> | ||
| <meta itemprop="width" content="{{ $image.Width }}" /> | ||
| <meta itemprop="height" content="{{ $image.Height }}" /> | ||
| </div> | ||
| <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter"> | ||
| <meta itemprop="interactionType" content="https://schema.org/CommentAction"/> | ||
| <meta itemprop="userInteractionCount" content="0"/> | ||
| </div> | ||
| <div class="pp-content-grid-post-image"> | ||
| <a href="{{ .RelPermalink }}"> | ||
| {{ partial "img/client-logo.html" (dict "image" $logo "title" .Params.client.name) }} | ||
| </a> | ||
| </div> | ||
| <div class="pp-content-grid-post-text"> | ||
| <div class="excerpt"> | ||
| <p>{{ .Params.excerpt }}</p> | ||
| </div> | ||
| <div class="case-category"> | ||
| <ul class='fl-jt_case_studies_category'> | ||
| {{ range .Params.categories }} | ||
| <li><span class="{{ . | urlize }}">{{ . }}</span></li> | ||
| {{ end }} | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </div> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
70 changes: 35 additions & 35 deletions
70
...r/layouts/partials/page/contact-form.html → .../layouts/_partials/page/contact-form.html
This file contains hidden or 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,35 +1,35 @@ | ||
| <form method='post' target="_blank" action='{{ .Site.Params.forms.contact.action }}'> | ||
| <div class='gform-body gform_body'> | ||
| <div id='gform_fields_5' class='gform_fields top_label form_sublabel_below description_below'> | ||
| <div id="field_5_1" class="gfield gfield--type-text gfield--input-type-text gfield--width-half gf_half gf_half_left gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_1" > | ||
| <label class='gfield_label gform-field-label' for='input_5_1'>First name<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_text'> | ||
| <input required name='{{.Site.Params.forms.contact.first_name }}' id='input_5_1' type='text' value='' class='large' tabindex='100' placeholder='e.g. John' aria-required="true" aria-invalid="false" /> </div> | ||
| </div> | ||
| <div id="field_5_2" class="gfield gfield--type-text gfield--input-type-text gfield--width-half gf_half gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_2" > | ||
| <label class='gfield_label gform-field-label' for='input_5_2'>Last name<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_text'> | ||
| <input required name='{{.Site.Params.forms.contact.last_name }}' id='input_5_2' type='text' value='' class='large' tabindex='101' placeholder='e.g. Doe' aria-required="true" aria-invalid="false" /> </div> | ||
| </div> | ||
| <div id="field_5_3" class="gfield gfield--type-email gfield--input-type-email gfield--width-half gf_half gf_half_left gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_3" > | ||
| <label class='gfield_label gform-field-label' for='input_5_3'>Email address<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_email'> | ||
| <input required name='{{.Site.Params.forms.contact.email }}' id='input_5_3' type='email' value='' class='large' tabindex='102' placeholder='e.g. johndoe@gmail.com' aria-required="true" aria-invalid="false" /> | ||
| </div> | ||
| </div> | ||
| <div id="field_5_4" class="gfield gfield--type-phone gfield--input-type-phone gfield--width-half gf_half gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_4" > | ||
| <label class='gfield_label gform-field-label' for='input_5_4'>Phone number<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_phone'> | ||
| <input required name='{{.Site.Params.forms.contact.phone }}' id='input_5_4' type='tel' value='' class='large' tabindex='103' placeholder='e.g. (+1) 234 567' aria-required="true" aria-invalid="false" /></div> | ||
| </div> | ||
| <div id="field_5_5" class="gfield gfield--type-textarea gfield--input-type-textarea gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_5" > | ||
| <label class='gfield_label gform-field-label' for='input_5_5'>Tell us about your project<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_textarea'> | ||
| <textarea required name='{{.Site.Params.forms.contact.tell }}' id='input_5_5' class='textarea small' tabindex='104' placeholder='Type here...' aria-required="true" aria-invalid="false" rows='10' cols='50'></textarea></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class='gform_footer top_label'> | ||
| <input type='submit' id='gform_submit_button_5' class='gform_button button' value='Request Consultation' tabindex='106' /> | ||
| </div> | ||
| </form> | ||
| <form method='post' target="_blank" action='{{ .Site.Params.forms.contact.action }}'> | ||
| <div class='gform-body gform_body'> | ||
| <div id='gform_fields_5' class='gform_fields top_label form_sublabel_below description_below'> | ||
| <div id="field_5_1" class="gfield gfield--type-text gfield--input-type-text gfield--width-half gf_half gf_half_left gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_1" > | ||
| <label class='gfield_label gform-field-label' for='input_5_1'>First name<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_text'> | ||
| <input required name='{{.Site.Params.forms.contact.first_name }}' id='input_5_1' type='text' value='' class='large' tabindex='100' placeholder='e.g. John' aria-required="true" aria-invalid="false" /> </div> | ||
| </div> | ||
| <div id="field_5_2" class="gfield gfield--type-text gfield--input-type-text gfield--width-half gf_half gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_2" > | ||
| <label class='gfield_label gform-field-label' for='input_5_2'>Last name<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_text'> | ||
| <input required name='{{.Site.Params.forms.contact.last_name }}' id='input_5_2' type='text' value='' class='large' tabindex='101' placeholder='e.g. Doe' aria-required="true" aria-invalid="false" /> </div> | ||
| </div> | ||
| <div id="field_5_3" class="gfield gfield--type-email gfield--input-type-email gfield--width-half gf_half gf_half_left gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_3" > | ||
| <label class='gfield_label gform-field-label' for='input_5_3'>Email address<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_email'> | ||
| <input required name='{{.Site.Params.forms.contact.email }}' id='input_5_3' type='email' value='' class='large' tabindex='102' placeholder='e.g. johndoe@gmail.com' aria-required="true" aria-invalid="false" /> | ||
| </div> | ||
| </div> | ||
| <div id="field_5_4" class="gfield gfield--type-phone gfield--input-type-phone gfield--width-half gf_half gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_4" > | ||
| <label class='gfield_label gform-field-label' for='input_5_4'>Phone number<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_phone'> | ||
| <input required name='{{.Site.Params.forms.contact.phone }}' id='input_5_4' type='tel' value='' class='large' tabindex='103' placeholder='e.g. (+1) 234 567' aria-required="true" aria-invalid="false" /></div> | ||
| </div> | ||
| <div id="field_5_5" class="gfield gfield--type-textarea gfield--input-type-textarea gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible" data-js-reload="field_5_5" > | ||
| <label class='gfield_label gform-field-label' for='input_5_5'>Tell us about your project<span class="gfield_required"><span class="gfield_required gfield_required_asterisk">*</span></span></label> | ||
| <div class='ginput_container ginput_container_textarea'> | ||
| <textarea required name='{{.Site.Params.forms.contact.tell }}' id='input_5_5' class='textarea small' tabindex='104' placeholder='Type here...' aria-required="true" aria-invalid="false" rows='10' cols='50'></textarea></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class='gform_footer top_label'> | ||
| <input type='submit' id='gform_submit_button_5' class='gform_button button' value='Request Consultation' tabindex='106' /> | ||
| </div> | ||
| </form> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Consider the implications of removing strict error handling.
The debug output additions are helpful for troubleshooting Docker Compose issues. However, the removal of
set -e(which was present in the original script based on the AI summary) removes immediate exit on command failure, potentially masking errors during script execution.Consider re-adding error handling while keeping the debug output:
🤖 Prompt for AI Agents