digitalcraftsman / hugo-agency-theme

Port of Startbootstrap's Agency theme to Hugo
http://themes.gohugo.io/theme/agency/
Apache License 2.0
160 stars 137 forks source link

How to remove the about -> endpoint? #100

Closed ozbillwang closed 6 years ago

ozbillwang commented 7 years ago

The icon defined in about ->endpoint works fine on desktop, but when view with my mobile, the icon doesn't stay at middle.

So how to always keep it in middle, or how to remove it from about I comments the line of endpoint, but no help.

    # About section
  [params.about]
    enable = true
    title = "About"
    subtitle = "Lorem ipsum dolor sit amet consectetur."
+    endpoint = "Be part<br>of our<br>story!"
lunk-liu commented 6 years ago

Remove from template /layouts/partials/about.html : https://github.com/digitalcraftsman/hugo-agency-theme/blob/master/layouts/partials/about.html#L32

<li class="timeline-inverted">
            <div class="timeline-image">
              <h4>{{ with .Site.Params.about.endpoint }}{{ . | markdownify }}{{ end }}</h4>
            </div>
</li>