Skip to content

Commit

Permalink
Fixed gscan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cmraible committed Dec 12, 2023
1 parent 9a916d0 commit b993791
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 107 deletions.
2 changes: 1 addition & 1 deletion default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{navigation}}
</div>
<div class="mb-3 mt-3">
{{> "social-links" }}
{{!-- {{> "social-links" }} --}}
</div>
</div>
</div>
Expand Down
92 changes: 0 additions & 92 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,98 +64,6 @@
"defaults"
],
"config": {
"custom": {
"social_link_1": {
"type": "text"
},
"social_icon_1": {
"type": "select",
"options": [
"Facebook",
"Github",
"LinkedIn",
"Reddit",
"Tiktok",
"Twitch",
"Twitter",
"Yelp",
"Youtube"
],
"default": "Facebook"
},
"social_link_2": {
"type": "text"
},
"social_icon_2": {
"type": "select",
"options": [
"Facebook",
"Github",
"LinkedIn",
"Reddit",
"Tiktok",
"Twitch",
"Twitter",
"Yelp",
"Youtube"
],
"default": "Twitter"
},
"social_link_3": {
"type": "text"
},
"social_icon_3": {
"type": "select",
"options": [
"Facebook",
"Github",
"LinkedIn",
"Reddit",
"Tiktok",
"Twitch",
"Twitter",
"Yelp",
"Youtube"
],
"default": "LinkedIn"
},
"social_link_4": {
"type": "text"
},
"social_icon_4": {
"type": "select",
"options": [
"Facebook",
"Github",
"LinkedIn",
"Reddit",
"Tiktok",
"Twitch",
"Twitter",
"Yelp",
"Youtube"
],
"default": "Github"
},
"social_link_5": {
"type": "text"
},
"social_icon_5": {
"type": "select",
"options": [
"Facebook",
"Github",
"LinkedIn",
"Reddit",
"Tiktok",
"Twitch",
"Twitter",
"Yelp",
"Youtube"
],
"default": "Youtube"
}
},
"card_assets": true,
"posts_per_page": 15,
"image_sizes": {
Expand Down
30 changes: 16 additions & 14 deletions page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@

{{#post}}
<article class="{{post_class}}">
<header>
<h1 class="font-bold text-4xl">{{title}}</h1>
{{#if custom_excerpt}}
<p class="italic mt-5 mb-5">{{custom_excerpt}}</p>
{{/if}}
{{#match @page.show_title_and_feature_image}}
<header>
<h1 class="font-bold text-4xl">{{title}}</h1>
{{#if custom_excerpt}}
<p class="italic mt-5 mb-5">{{custom_excerpt}}</p>
{{/if}}

{{#if feature_image}}
<figure class="mt-5 mb-5">
<img src="{{feature_image}}" alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}" />
{{#if feature_image_caption}}
<figcaption class="text-sm">{{feature_image_caption}}</figcaption>
{{/if}}
</figure>
{{/if}}
</header>
{{#if feature_image}}
<figure class="mt-5 mb-5">
<img src="{{feature_image}}" alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}" />
{{#if feature_image_caption}}
<figcaption class="text-sm">{{feature_image_caption}}</figcaption>
{{/if}}
</figure>
{{/if}}
</header>
{{/match}}


<article class="prose prose-neutral mt-5">
Expand Down

0 comments on commit b993791

Please sign in to comment.