Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/kskarthik/monopriv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarthik <kskarthik@gitlab.io>2019-12-06 12:57:56 +0300
committerkarthik <kskarthik@gitlab.io>2019-12-06 12:57:56 +0300
commit21a13fde3d9e0e1180907040a1444b3ac54b8f3a (patch)
treea46e5ffae668935c1fc446a1081759e29d463e71
parent7d7d24a4d2db59326c0551b0ed6a2088490375ea (diff)
test ci
-rw-r--r--.gitlab-ci.yml28
-rw-r--r--layouts/_default/list.html2
2 files changed, 29 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..fd12298
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,28 @@
+image: registry.gitlab.com/pages/hugo:latest
+
+#variables:
+# GIT_SUBMODULE_STRATEGY: recursive
+
+#test:
+# script:
+# - hugo
+
+pages:
+ script:
+ - git clone https://github.com/gohugoio/hugobasicexample.git && mkdir -p hugobasicexample/themes/monopriv
+ - cp -r archetypes \
+ exampleSite \
+ images \
+ layouts \
+ resources \
+ static \
+ theme.toml \
+ hugobasicexample/themes/monopriv/ && ls
+ - cd hugobasicexample/
+ - mv themes/monopriv/exampleSite/config.toml .
+ - hugo -b https://kskarthik.gitlab.io/monopriv/
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 7967826..3c267c7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -8,7 +8,7 @@
{{else}}
<div class="row">
{{range .Pages}}
- <div class="container col-md-5 m-3">
+ <div class="col-md-5 m-3">
<h6><a href="{{.Permalink}}">{{ .Title }}</a></h6>
{{if eq .Section "post"}}
<small class="text-secondary">{{.PublishDate.Format "January 2, 2006"}} | {{.ReadingTime}} minute read</small>