mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 18:15:35 +00:00
1 parent
674bb67364
commit
9ee3ade085
6 files changed
+6
-5
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd exampleSite
|
cd exampleSite
|
||||||
hugo -t academic --themesDir ../.. -p 1315 --i18n-warnings server
|
hugo -t "hugo-academic-v3" --themesDir ../.. -p 1315 --i18n-warnings --ignoreCache server
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
{{ partial "header_image.html" . }}
|
{{ partial "header_image.html" . }}
|
||||||
|
|
||||||
<div class="universal-wrapper">
|
<div class="universal-wrapper">
|
||||||
{{ with .Title }}<h1 class="pt-3">{{ . }}</h1>{{ end }}
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||||
|
|
||||||
{{ with .Content }}
|
{{ with .Content }}
|
||||||
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ ul, ol, dl {
|
|||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: '{{ .Get "heading_font" }}', sans-serif;
|
font-family: '{{ .Get "heading_font" }}', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
margin-top: 1rem;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
color: #313131;
|
color: #313131;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<div class="universal-wrapper">
|
<div class="universal-wrapper">
|
||||||
|
|
||||||
<h1 class="pt-3">{{ .Title | default (i18n "posts") }}</h1>
|
<h1>{{ .Title | default (i18n "posts") }}</h1>
|
||||||
|
|
||||||
{{ with .Content }}
|
{{ with .Content }}
|
||||||
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ partial "header_image.html" . }}
|
{{ partial "header_image.html" . }}
|
||||||
|
|
||||||
<div class="universal-wrapper">
|
<div class="universal-wrapper">
|
||||||
<div class="row pt-3">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h1>{{ .Title | default (i18n "publications") }}</h1>
|
<h1>{{ .Title | default (i18n "publications") }}</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ partial "header_image.html" . }}
|
{{ partial "header_image.html" . }}
|
||||||
|
|
||||||
<div class="universal-wrapper">
|
<div class="universal-wrapper">
|
||||||
<div class="row pt-3">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h1>{{ .Title | default (i18n "talks") }}</h1>
|
<h1>{{ .Title | default (i18n "talks") }}</h1>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user