Skip to content

Commit

Permalink
feat: PSJekyll.Template.IncludeGoogleFont ( Fixes #59 )
Browse files Browse the repository at this point in the history
Adding style tag
  • Loading branch information
James Brundage committed Oct 6, 2024
1 parent 99bdd91 commit ae70fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Types/PSJekyll.Template/IncludeGoogleFont.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if ($FontName) {
@(
"{% if site.googleFont %}"
"<link href='https://fonts.googleapis.com/css?family={{site.googleFont}}' rel='stylesheet'>"
"<style type='text/css'>font-family: {{site.googleFont}};</style>"
"{% endif %}"
) -join [Environment]::Newline
}
Expand Down

0 comments on commit ae70fbf

Please sign in to comment.