diff --git a/default.hbs b/default.hbs index 98dfee2f..4baecf75 100644 --- a/default.hbs +++ b/default.hbs @@ -35,7 +35,7 @@ {{navigation}}
- {{> "social-links" }} + {{!-- {{> "social-links" }} --}}
diff --git a/package.json b/package.json index 9b5e19e6..9dcfc35b 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/page.hbs b/page.hbs index 62d7c284..45b0ea87 100644 --- a/page.hbs +++ b/page.hbs @@ -2,21 +2,23 @@ {{#post}}
-
-

{{title}}

- {{#if custom_excerpt}} -

{{custom_excerpt}}

- {{/if}} + {{#match @page.show_title_and_feature_image}} +
+

{{title}}

+ {{#if custom_excerpt}} +

{{custom_excerpt}}

+ {{/if}} - {{#if feature_image}} -
- {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} - {{#if feature_image_caption}} -
{{feature_image_caption}}
- {{/if}} -
- {{/if}} -
+ {{#if feature_image}} +
+ {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} + {{#if feature_image_caption}} +
{{feature_image_caption}}
+ {{/if}} +
+ {{/if}} +
+ {{/match}}