chore: slim excess page templates
This commit is contained in:
parent
a1489414f0
commit
0339ee8135
@ -1,140 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
{{#if @member.paid}}
|
||||
<div class="account-section">
|
||||
<div class="account-header archive-section is-image">
|
||||
<div class="account-image archive-image global-image">
|
||||
{{>icons/site/user}}
|
||||
{{#if @member.avatar_image}}
|
||||
<img src="{{@member.avatar_image}}">
|
||||
{{/if}}
|
||||
</div>
|
||||
<h1 class="archive-title global-title">{{#if @member.name}}{{@member.name}}{{else}}{{t "Your account"}}{{/if}}</h1>
|
||||
<p class="archive-excerpt global-excerpt">
|
||||
{{#if custom_excerpt}}
|
||||
{{custom_excerpt}}
|
||||
{{else}}
|
||||
{{t "Nice, you’re a paying subscriber! You’ve an active account with access to all posts."}}
|
||||
{{/if}}
|
||||
</p>
|
||||
{{#foreach @member.subscriptions}}
|
||||
<div class="account-details">
|
||||
<div class="account-details-wrap global-radius">
|
||||
<h2 class="account-details-title">{{t "Account details"}}</h2>
|
||||
<div class="account-details-content">
|
||||
<div class="account-detail-column">
|
||||
<div>
|
||||
<label class="account-detail-heading">{{t "Email address"}}</label>
|
||||
<span class="account-detail-content">{{@member.email}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<label class="account-detail-heading">{{t "Your plan"}}</label>
|
||||
<span class="account-detail-content">{{tier.name}} — {{price plan}}/{{plan.interval}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="account-detail-column">
|
||||
<div>
|
||||
<label class="account-detail-heading">{{t "Card"}}</label>
|
||||
<span class="account-detail-content">**** **** **** {{default_payment_card_last4}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<label class="account-detail-heading">
|
||||
{{#if cancel_at_period_end}}
|
||||
{{t "Expires"}}
|
||||
{{else}}
|
||||
{{t "Next bill date"}}
|
||||
{{/if}}
|
||||
</label>
|
||||
<span class="account-detail-content">{{date current_period_end format="DD MMM YYYY"}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if cancel_at_period_end}}
|
||||
<small class="account-alert-expired">
|
||||
{{t "Your subscription will expire on"}} — {{date current_period_end format="DD MMMM YYYY"}}. {{t "If you change your mind in the meantime you can turn auto-renew back on to continue your subscription."}}
|
||||
</small>
|
||||
{{/if}}
|
||||
<div class="account-signout-wrap">
|
||||
<span class="account-signout global-button" data-members-signout>{{t "Sign out"}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="account-buttons">
|
||||
<a href="javascript:" class="account-button" data-portal="account">{{t "Account settings"}}</a>
|
||||
{{cancel_link class="account-button" errorClass="cancel-error global-alert" cancelLabel=(t "Cancel subscription") continueLabel=(t "Continue subscription")}}
|
||||
<a href="javascript:" class="account-button-billing" data-members-edit-billing>
|
||||
{{t "Edit billing info"}} <span>→</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
{{#get "posts" limit="6" filter="visibility:[members,paid,tiers]+feature_image:-null" include="authors" as |special_posts|}}
|
||||
{{#if special_posts}}
|
||||
{{>related label=(t "The latest posts {start-bold}only for subscribers{end-bold}" start-bold="<span>" end-bold="</span>")}}
|
||||
{{/if}}
|
||||
{{/get}}
|
||||
{{else if @member}}
|
||||
<div class="account-section">
|
||||
<div class="account-header archive-section is-image">
|
||||
<div class="account-image archive-image global-image">
|
||||
{{>icons/site/user}}
|
||||
{{#if @member.avatar_image}}
|
||||
<img src="{{@member.avatar_image}}">
|
||||
{{/if}}
|
||||
</div>
|
||||
<h1 class="archive-title global-title">{{#if @member.name}}{{@member.name}}{{else}}{{t "Your account"}}{{/if}}</h1>
|
||||
<p class="archive-excerpt global-excerpt">
|
||||
{{#if custom_excerpt}}
|
||||
{{custom_excerpt}}
|
||||
{{else}}
|
||||
{{#if @site.paid_members_enabled}}
|
||||
{{t "Currently, you’re not a paying subscriber. You’ve an active account with access to posts for subscribers only."}}
|
||||
{{else}}
|
||||
{{t "You’ve an active account with access to posts for subscribers."}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</p>
|
||||
<div class="account-details">
|
||||
<div class="account-details-wrap global-radius">
|
||||
<h2 class="account-details-title">{{t "Account details"}}</h2>
|
||||
<div class="account-details-content">
|
||||
<div class="account-detail-column">
|
||||
<div>
|
||||
<label class="account-detail-heading">{{t "Email address"}}</label>
|
||||
<span class="account-detail-content">{{@member.email}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if @site.paid_members_enabled}}
|
||||
<div class="account-detail-column">
|
||||
<div>
|
||||
<label class="account-detail-heading">{{t "Your plan"}}</label>
|
||||
<span class="account-detail-content">{{t "Free"}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="account-signout-wrap">
|
||||
<span class="account-signout global-button" data-members-signout>{{t "Sign out"}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="account-buttons">
|
||||
<a href="javascript:" class="account-button" data-portal="account">{{t "Account settings"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{#if @site.paid_members_enabled}}
|
||||
{{>members/tiers}}
|
||||
{{/if}}
|
||||
{{#get "posts" limit="6" filter="visibility:[members,paid,tiers]+feature_image:-null" include="authors" as |special_posts|}}
|
||||
{{#if special_posts}}
|
||||
{{>related label=(t "The latest posts {start-bold}only for subscribers{end-bold}" start-bold="<span>" end-bold="</span>")}}
|
||||
{{/if}}
|
||||
{{/get}}
|
||||
{{else}}
|
||||
{{#contentFor "script_js"}}
|
||||
<script>window.addEventListener("load",function(){window.location='{{@site.url}}'})</script>
|
||||
{{/contentFor}}
|
||||
{{/if}}
|
||||
{{/post}}
|
@ -1,43 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
<div class="archive-section">
|
||||
<h1 class="global-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="archive-excerpt global-excerpt">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="custom-archive loop-section global-padding">
|
||||
<div class="global-subtitle">
|
||||
<small class="global-subtitle-title">
|
||||
{{{t "Meet our {start-bold}authors{end-bold}" start-bold="<span>" end-bold="</span>"}}}
|
||||
</small>
|
||||
</div>
|
||||
{{#get "authors" limit="all" include="count.posts" order="count.posts desc" as |authors|}}
|
||||
{{#if authors}}
|
||||
<div class="loop-wrap is-authors">
|
||||
{{#foreach authors}}
|
||||
{{#if count.posts}}
|
||||
<div class="item is-loop">
|
||||
{{#if profile_image}}
|
||||
<div class="item-image global-image global-image-orientation global-radius">
|
||||
<a href="{{url}}" class="global-link" aria-label="{{name}}"></a>
|
||||
{{>images/archive_image archive_image=profile_image}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="item-content">
|
||||
<h2 class="item-title"><a href="{{url}}">{{name}}</a></h2>
|
||||
<small>{{#if location}}{{t "from"}} {{location}} ∙ {{/if}}{{plural count.posts empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}</small>
|
||||
{{#if bio}}
|
||||
<p class="item-excerpt">
|
||||
{{bio}}
|
||||
</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/get}}
|
||||
</div>
|
||||
{{/post}}
|
@ -1,25 +0,0 @@
|
||||
{{!< default-custom}}
|
||||
{{#post}}
|
||||
<div class="custom-wrap">
|
||||
{{#if feature_image}}
|
||||
<div class="custom-image global-bg-image" style="background-image: url({{{img_url feature_image size="l" format="webp"}}})"></div>
|
||||
{{/if}}
|
||||
<div class="custom-container">
|
||||
<div class="custom-logo-wrap">
|
||||
<div class="custom-logo">
|
||||
{{>logo}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-content">
|
||||
<form method="POST" action="">
|
||||
<h1 class="custom-title global-title">{{title}}</h1>
|
||||
<input type="text" name="name" placeholder="{{t "Your name"}}" aria-label="{{t "Your name"}}" required>
|
||||
<input type="email" name="email" placeholder="{{t "Your email address"}}" aria-label="{{t "Your email address"}}" required>
|
||||
<label for="message">{{t "Your message"}}</label>
|
||||
<textarea id="message" name="message" required></textarea>
|
||||
<button class="global-button" type="submit">{{t "Send message"}}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/post}}
|
@ -1,21 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
<div class="post-section">
|
||||
{{>post_header membership_page=true}}
|
||||
</div>
|
||||
{{#if html}}
|
||||
<div class="faq-section global-padding">
|
||||
<div class="faq-wrap">
|
||||
<h2 class="faq-title">{{t "FAQs"}}</h2>
|
||||
<div class="faq-content">
|
||||
{{content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#get "posts" limit="6" filter="visibility:[members,paid,tiers]+feature_image:-null" include="authors" as |special_posts|}}
|
||||
{{#if special_posts}}
|
||||
{{>related label=(t "The latest posts {start-bold}only for subscribers{end-bold}" start-bold="<span>" end-bold="</span>")}}
|
||||
{{/if}}
|
||||
{{/get}}
|
||||
{{/post}}
|
@ -1,4 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
{{>post_content post_center=true}}
|
||||
{{/post}}
|
@ -1,4 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
{{>post_content post_classic=true}}
|
||||
{{/post}}
|
@ -1,32 +0,0 @@
|
||||
{{!< default-custom}}
|
||||
{{#post}}
|
||||
<div class="custom-wrap">
|
||||
{{#if feature_image}}
|
||||
<div class="custom-image global-bg-image" style="background-image: url({{{img_url feature_image size="l" format="webp"}}})"></div>
|
||||
{{/if}}
|
||||
<div class="custom-container">
|
||||
<div class="custom-logo-wrap">
|
||||
<div class="custom-logo">
|
||||
{{>logo}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-content">
|
||||
<form data-members-form="signin" data-members-autoredirect="false">
|
||||
<h1 class="custom-title global-title">{{title}}</h1>
|
||||
<input data-members-email type="email" placeholder="{{t "Your email address"}}" aria-label="{{t "Your email address"}}" required>
|
||||
<button class="global-button" type="submit">{{t "Send login link"}}</button>
|
||||
<div>
|
||||
<small class="alert-loading global-alert">{{t "Processing your application"}}</small>
|
||||
<small class="alert-error global-alert">{{t "There was an error sending the email"}}</small>
|
||||
</div>
|
||||
<small class="global-question">{{t "Don’t have an account yet?"}} <a href="{{@site.url}}/signup/">{{t "Sign up"}}</a></small>
|
||||
</form>
|
||||
<div class="alert-success">
|
||||
<h2 class="custom-alert-title">{{t "Great!"}}</h2>
|
||||
<p>{{t "Please check your inbox and click the link to complete signin."}}</p>
|
||||
<a href="{{@site.url}}" class="global-button">{{t "Back to homepage"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/post}}
|
@ -1,35 +0,0 @@
|
||||
{{!< default-custom}}
|
||||
{{#post}}
|
||||
<div class="custom-wrap">
|
||||
{{#if feature_image}}
|
||||
<div class="custom-image global-bg-image" style="background-image: url({{{img_url feature_image size="l" format="webp"}}})"></div>
|
||||
{{/if}}
|
||||
<div class="custom-container">
|
||||
<div class="custom-logo-wrap">
|
||||
<div class="custom-logo">
|
||||
{{>logo}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-content">
|
||||
<form data-members-form="signup" data-members-autoredirect="false">
|
||||
<h1 class="custom-title global-title">{{title}}</h1>
|
||||
{{#if @site.portal_name}}
|
||||
<input data-members-name type="text" placeholder="{{t "Your name"}}" aria-label="{{t "Your name"}}" required>
|
||||
{{/if}}
|
||||
<input data-members-email type="email" placeholder="{{t "Your email address"}}" aria-label="{{t "Your email address"}}" required>
|
||||
<button class="global-button" type="submit">{{t "Continue"}}</button>
|
||||
<div>
|
||||
<small class="alert-loading global-alert">{{t "Processing your application"}}</small>
|
||||
<small class="alert-error global-alert">{{t "There was an error sending the email"}}</small>
|
||||
</div>
|
||||
<small class="global-question">{{t "Already have an account?"}} <a href="{{@site.url}}/signin/">{{t "Sign in"}}</a></small>
|
||||
</form>
|
||||
<div class="alert-success">
|
||||
<h2 class="custom-alert-title">{{t "Great!"}}</h2>
|
||||
<p>{{t "Please check your inbox and click the link to confirm your signup."}}</p>
|
||||
<a href="{{@site.url}}" class="global-button">{{t "Back to homepage"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/post}}
|
@ -1,34 +0,0 @@
|
||||
{{!< default-custom}}
|
||||
{{#post}}
|
||||
<div class="custom-wrap">
|
||||
{{#if feature_image}}
|
||||
<div class="custom-image global-bg-image" style="background-image: url({{{img_url feature_image size="l" format="webp"}}})"></div>
|
||||
{{/if}}
|
||||
<div class="custom-container">
|
||||
<div class="custom-logo-wrap">
|
||||
<div class="custom-logo">
|
||||
{{>logo}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-content">
|
||||
<form data-members-form="subscribe" data-members-autoredirect="false">
|
||||
<h1 class="custom-title global-title">{{title}}</h1>
|
||||
{{#if @site.portal_name}}
|
||||
<input data-members-name type="text" placeholder="{{t "Your name"}}" aria-label="{{t "Your name"}}" required>
|
||||
{{/if}}
|
||||
<input data-members-email type="email" placeholder="{{t "Your email address"}}" aria-label="{{t "Your email address"}}" required>
|
||||
<button class="global-button" type="submit">{{t "Subscribe"}}</button>
|
||||
<div>
|
||||
<small class="alert-loading global-alert">{{t "Processing your application"}}</small>
|
||||
<small class="alert-error global-alert">{{t "There was an error sending the email"}}</small>
|
||||
</div>
|
||||
</form>
|
||||
<div class="alert-success">
|
||||
<h2 class="custom-alert-title">{{t "Great!"}}</h2>
|
||||
<p>{{t "Please check your inbox and click the link to confirm your subscription."}}</p>
|
||||
<a href="{{@site.url}}" class="global-button">{{t "Back to homepage"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/post}}
|
@ -1,43 +0,0 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
<div class="archive-section">
|
||||
<h1 class="global-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="archive-excerpt global-excerpt">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="custom-archive loop-section global-padding">
|
||||
<div class="global-subtitle">
|
||||
<small class="global-subtitle-title">
|
||||
{{{t "Explore our {start-bold}tags{end-bold}" start-bold="<span>" end-bold="</span>"}}}
|
||||
</small>
|
||||
</div>
|
||||
{{#get "tags" limit="all" filter="visibility:public" include="count.posts" order="count.posts desc" as |tags|}}
|
||||
{{#if tags}}
|
||||
<div class="loop-wrap is-tags">
|
||||
{{#foreach tags}}
|
||||
{{#if count.posts}}
|
||||
<div class="item is-loop">
|
||||
{{#if feature_image}}
|
||||
<div class="item-image is-landscape global-image global-image-orientation global-radius">
|
||||
<a href="{{url}}" class="global-link" aria-label="{{name}}"></a>
|
||||
{{>images/archive_image archive_image=feature_image}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="item-content">
|
||||
<h2 class="item-title"><a href="{{url}}">{{name}}</a></h2>
|
||||
<small>{{plural count.posts empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}</small>
|
||||
{{#if description}}
|
||||
<p class="item-excerpt">
|
||||
{{description}}
|
||||
</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/get}}
|
||||
</div>
|
||||
{{/post}}
|
@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{@site.locale}}"{{#match @custom.color_scheme "Dark"}} class="dark-mode"{{else match @custom.color_scheme "Light/Dark"}} class="light-dark-mode"{{/match}}>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{@site.title}} — {{meta_title}}</title>
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{>services/google_fonts}}
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}">
|
||||
{{{block "fonts_css"}}}
|
||||
{{ghost_head}}
|
||||
</head>
|
||||
<body class="{{body_class}} custom-page global-accent-color-buttons">
|
||||
{{{body}}}
|
||||
{{ghost_foot}}
|
||||
</body>
|
||||
</html>
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{meta_title page=(t "meta-page")}}</title>
|
||||
<title>{{#is "home"}}{{else}}{{meta_title page=(t "meta-page")}} - {{/is}}{{@site.title}}</title>
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{>services/google_fonts}}
|
||||
|
@ -9,14 +9,12 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Archivo', sans-serif);
|
||||
--font-weight-one-light: 300;
|
||||
--font-weight-one-bold: 800;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Archivo', sans-serif);
|
||||
--font-weight-two-bold: 800;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Bona Nova + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -28,21 +26,17 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Bona Nova', serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Inter', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 700;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -54,21 +48,17 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Inter', sans-serif);
|
||||
--font-weight-one-light: 300;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Inter', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 700;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Lato"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -81,10 +71,8 @@
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-regular: 400;
|
||||
--font-weight-one-bold: 900;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Lato', sans-serif);
|
||||
--font-weight-two-bold: 900;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Lato', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 400;
|
||||
@ -93,7 +81,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "EB Garamond + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -105,7 +92,6 @@
|
||||
--font-family-one: var(--gh-font-heading, 'EB Garamond', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
@ -114,7 +100,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Lora + System fonts"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -126,14 +111,12 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Lora', serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Lora', serif);
|
||||
--font-weight-two-bold: 700;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Nunito"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -145,10 +128,8 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Nunito', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 900;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Nunito', sans-serif);
|
||||
--font-weight-two-bold: 900;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Nunito', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 600;
|
||||
@ -158,7 +139,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Oswald + Roboto"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -170,10 +150,8 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Oswald', sans-serif);
|
||||
--font-weight-one-light: 300;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Oswald', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Roboto', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
@ -182,7 +160,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Playfair + System fonts"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -198,7 +175,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Poppins + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -210,21 +186,17 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Poppins', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 600;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Poppins', sans-serif);
|
||||
--font-weight-two-bold: 600;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 600;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Raleway + System fonts"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -236,14 +208,12 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Raleway', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 800;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Raleway', sans-serif);
|
||||
--font-weight-two-bold: 800;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Roboto"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -255,10 +225,8 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Roboto', sans-serif);
|
||||
--font-weight-one-light: 300;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Roboto', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Roboto', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
@ -267,7 +235,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Space Grotesk + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -279,21 +246,17 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Space Grotesk', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Space Grotesk', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 700;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Sora + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -305,10 +268,8 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Sora', sans-serif);
|
||||
--font-weight-one-light: 300;
|
||||
--font-weight-one-bold: 600;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Sora', sans-serif);
|
||||
--font-weight-two-bold: 600;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
@ -317,7 +278,6 @@
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Syne + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -329,21 +289,17 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Syne', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Syne', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 700;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
{{/contentFor}}
|
||||
{{/match}}
|
||||
|
||||
{{#match @custom.fonts "Work Sans + Inter"}}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@ -355,15 +311,12 @@
|
||||
--font-family-one: var(--gh-font-heading, 'Work Sans', sans-serif);
|
||||
--font-weight-one-light: 400;
|
||||
--font-weight-one-bold: 700;
|
||||
|
||||
--font-family-two: var(--gh-font-heading, 'Work Sans', sans-serif);
|
||||
--font-weight-two-bold: 700;
|
||||
|
||||
--font-family-three: var(--gh-font-body, 'Inter', sans-serif);
|
||||
--font-weight-three-regular: 400;
|
||||
--font-weight-three-medium: 500;
|
||||
--font-weight-three-bold: 700;
|
||||
|
||||
--letter-spacing: -.01em;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user