Skip to content

Commit

Permalink
Update some abs/rel path to be compliant with demo building problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Didier GEORGIEFF committed Sep 13, 2018
1 parent 4d4c0c4 commit 1da693f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ DefaultContentLanguage = "en"
dateFormat = "2 January 2006"

home = "FR Home"
logo = "/images/logo.png"
logo = "images/logo.png"
menufixed = false

footerDescription = "FRANCAIS Integer posuere erat a ante venenati dapibus posuere velit aliquet. Fusce dapibus, tellus cursus commodo, tortor mauris sed posuere."
Expand All @@ -53,7 +53,7 @@ DefaultContentLanguage = "en"
button = true
btnText = "Know More"
btnURL = "https://themefisher.com/"
videoThumb = "/images/slider/video-player-thumb.jpg"
videoThumb = "images/slider/video-player-thumb.jpg"
videoURL = "https://www.youtube.com/embed/g3-VxLQO7do"

# About 2 Section
Expand Down Expand Up @@ -85,12 +85,12 @@ DefaultContentLanguage = "en"
instagram= "https://www.instagram.com/"
mapLatitude = "51.507351"
mapLongitude= "-0.127758"
mapMarker = "/images/marker.png"
mapMarker = "images/marker.png"

# Call to Action Section on About Page
[Languages.fr.params.cta]
enable = true
bg = "/images/call-to-action/call-to-action-bg-2.jpg"
bg = "images/call-to-action/call-to-action-bg-2.jpg"
title = "FRANCAIS Let's Create Something Together"
subtitle= "Proin gravida nibh vel velit auctor aliquet. Aenean sollicudin bibendum auctor, <br> nisi elit consequat ipsum, nesagittis sem nid elit. Duis sed odio sitain elit."
btnText = "Nous contacter"
Expand All @@ -103,7 +103,7 @@ DefaultContentLanguage = "en"
dateFormat = "January 2, 2006"

home = "EN Home"
logo = "/images/logo.png"
logo = "images/logo.png"
menufixed = false

footerDescription = "ENGLISH Integer posuere erat a ante venenati dapibus posuere velit aliquet. Fusce dapibus, tellus cursus commodo, tortor mauris sed posuere."
Expand All @@ -120,7 +120,7 @@ DefaultContentLanguage = "en"
button = true
btnText = "Know More"
btnURL = "https://themefisher.com/"
videoThumb = "/images/slider/video-player-thumb.jpg"
videoThumb = "images/slider/video-player-thumb.jpg"
videoURL = "https://www.youtube.com/embed/g3-VxLQO7do"

# About 2 Section
Expand Down Expand Up @@ -152,12 +152,12 @@ DefaultContentLanguage = "en"
instagram= "https://www.instagram.com/"
mapLatitude = "51.507351"
mapLongitude= "-0.127758"
mapMarker = "/images/marker.png"
mapMarker = "images/marker.png"

# Call to Action Section on About Page
[Languages.en.params.cta]
enable = true
bg = "/images/call-to-action/call-to-action-bg-2.jpg"
bg = "images/call-to-action/call-to-action-bg-2.jpg"
title = "ENGLISH Let's Create Something Together"
subtitle= "Proin gravida nibh vel velit auctor aliquet. Aenean sollicudin bibendum auctor, <br> nisi elit consequat ipsum, nesagittis sem nid elit. Duis sed odio sitain elit."
btnText = "Contact Us"
Expand All @@ -169,53 +169,53 @@ DefaultContentLanguage = "en"
# Navbar Menus
[[menu.nav]]
name = "about"
url = "/about"
url = "about"
weight = 2
[[menu.nav]]
name = "service"
url = "/service"
url = "service"
weight = 3
[[menu.nav]]
name = "portfolio"
url = "/portfolio"
url = "portfolio"
weight = 4
[[menu.nav]]
name = "blog"
url = "/blog"
url = "blog"
weight = 5
[[menu.nav]]
name = "contact"
url = "/contact"
url = "contact"
weight = 6

# Footer Service Menu
[[menu.service]]
name = "graphicdesign"
url = "/service"
url = "service"
weight = 1
[[menu.service]]
name = "webdesign"
url = "/service"
url = "service"
weight = 2
[[menu.service]]
name = "webdevelopment"
url = "/service"
url = "service"
weight = 3

# Footer Quick links Menu
[[menu.quicklink]]
name = "partners"
url = "/about"
url = "about"
weight = 1
[[menu.quicklink]]
name = "about"
url = "/about"
url = "about"
weight = 2
[[menu.quicklink]]
name = "faqs"
url = "/about"
url = "about"
weight = 3
[[menu.quicklink]]
name = "badges"
url = "/about"
url = "about"
weight = 4
4 changes: 2 additions & 2 deletions exampleSite/layouts/partials/cta.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<div class="col-md-12 text-center">
{{ with .Site.Params.cta.title }}<h2>{{ . }}</h2>{{ end }}
{{ with .Site.Params.cta.subtitle }}<p>{{ . | safeHTML }}</p>{{ end }}
{{ with .Site.Params.cta.btnText }}<a href="{{ "/contact" | absURL }}" class="btn btn-main">{{ . }}</a>{{ end }}
{{ with .Site.Params.cta.btnText }}<a href="{{ "contact" | absURL }}" class="btn btn-main">{{ . }}</a>{{ end }}
</div>
</div>
</div>
</section>
{{ "<!-- Start Call To Action -->" | safeHTML }}
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion exampleSite/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{{ $style_original := resources.Get "css/style_original.css" }}
{{ $style_site := resources.Get "css/my_style.css" }}
{{ $style := slice $style_original $style_site | resources.Concat "css/style.css" | minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<!-- <link rel="stylesheet" href="{{ "css/style.css" | absURL }}"> -->

</head>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/cta.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
</div>
</section>
{{ "<!-- Start Call To Action -->" | safeHTML }}
{{ end }}
{{ end }}

0 comments on commit 1da693f

Please sign in to comment.