diff options
author | karthik <kskarthik@gitlab.io> | 2019-12-06 12:57:56 +0300 |
---|---|---|
committer | karthik <kskarthik@gitlab.io> | 2019-12-06 12:57:56 +0300 |
commit | 21a13fde3d9e0e1180907040a1444b3ac54b8f3a (patch) | |
tree | a46e5ffae668935c1fc446a1081759e29d463e71 | |
parent | 7d7d24a4d2db59326c0551b0ed6a2088490375ea (diff) |
test ci
-rw-r--r-- | .gitlab-ci.yml | 28 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 |
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> |