提交 b357b7a1 编写于 作者: L lucperkins

Fix issue with font

上级 57f79f1f
...@@ -2,6 +2,15 @@ ...@@ -2,6 +2,15 @@
@charset "utf-8" @charset "utf-8"
@font-face
font-family: "{{ $sansSerifFont }}"
src: url('/fonts/franklin-gothic-heavy-regular.ttf') format('truetype')
// Site-specific variables
$tekton-purple: rgb(185, 108, 208)
$tekton-red: rgb(253, 73, 92)
$tekton-blue: rgb(0, 15, 159)
@import "bulma/sass/utilities/initial-variables" @import "bulma/sass/utilities/initial-variables"
@import "bulma/sass/utilities/functions" @import "bulma/sass/utilities/functions"
......
...@@ -4,9 +4,10 @@ disableKinds = ["taxonomy", "taxonomyTerm"] ...@@ -4,9 +4,10 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
[params] [params]
favicon = "favicon.png" favicon = "favicon.png"
subtitle = "Foo"
[params.logos] [params.logos]
navbar = "horizontal-color" navbar = "horizontal-color"
[params.fonts] [params.fonts]
sansserif = "Franklin Gothic Heavy" sansserif = "Franklin Gothic Heavy Regular"
\ No newline at end of file
{{ $title := site.Title }}
{{ $subtitle := site.Params.subtitle | markdownify }}
<section class="hero is-fullheight-with-navbar"> <section class="hero is-fullheight-with-navbar">
<div class="hero-head"> <div class="hero-head">
{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}
</div> </div>
</section>
\ No newline at end of file <div class="hero-body">
<div class="container">
<p class="title is-size-1">
{{ $title }}
</p>
<p class="subtitle is-size-2 is-size-3-mobile">
{{ $subtitle }}
</p>
</div>
</div>
</section>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册