Skip to content

Commit caa80bc

Browse files
committed
Dyanmic About content
1 parent 4ecc40d commit caa80bc

File tree

8 files changed

+12
-33
lines changed

8 files changed

+12
-33
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hugo build
22
public
3-
resources/_gen
3+
resources/**
44

55
# Logs
66
logs

config.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ description = ""
6363
author = "Themefisher"
6464
# Google Analitycs
6565
googleAnalitycsID = "" # Your ID
66-
# copyright
67-
copyright = "Netcentric, A Cognizant Digital Business"
66+
[params.copyright]
67+
text = "Netcentric, A Cognizant Digital Business"
68+
link = "https://www.netcentric.biz/"
6869

6970
# Preloader
7071
[params.preloader]
@@ -80,10 +81,6 @@ enable = false
8081
enable = false
8182
expire_days = 2
8283

83-
############################# Footer ########################
84-
[params.footer]
85-
content = "Netcentric is an Adobe Platinum Solution Partner with deep expertise in building scalable digital experience solutions for our clients and we love 💜 cutting-edge technology to serve our customers best. We value open source 🙌 and we closely collaborate with Adobe on shared interest projects of the Apache Software Foundation, in Adobe’s open source space and in our own space here on Github. We invite everyone to contribute and provide feedback to our open source work - get in touch with us! 🙇‍♂️ 🚀"
86-
8784

8885
############################# post share ###################
8986
[[params.share]]

content/about/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ description: ""
66
layout: page
77
---
88

9-
Netcentric is an Adobe Platinum Solution Partner with deep expertise in building scalable digital experience solutions for our clients and we love 💜 cutting-edge technology to serve our customers best. We value open source 🙌 and we closely collaborate with Adobe on shared interest projects of the Apache Software Foundation, in Adobe’s open source space and in our own space here on Github. We invite everyone to contribute and provide feedback to our open source work - get in touch with us! 🙇‍♂️
9+
{{% about %}}

layouts/shortcodes/about.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{{ $resp := getJSON "https://api.github.com/repos/Netcentric/.github/contents/profile/README.md" }}
2+
{{ $resp.content | base64Decode | markdownify }}

resources/_gen/assets/scss/scss/style.scss_b95b077eb505d5c0aff8055eaced30ad.content

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

themes/influencer-hugo/layouts/_default/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{{ partial "page-title.html" . }}
44

5-
<section class="section blog-wrap border-bottom">
5+
<section class="section blog-wrap">
66
<div class="container">
77
<div class="row">
88
<div class="col-12">

themes/influencer-hugo/layouts/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ <h1 class="mb-3 mt-2">{{ .title | markdownify }}</h1>
2121
{{ end }}
2222
{{ end }}
2323

24-
25-
2624
<!--Featured -->
2725
{{ if .Site.Data.homepage.featured.enable }}
2826
{{ with .Site.Data.homepage.featured }}

themes/influencer-hugo/layouts/partials/footer.html

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,10 @@
11
<footer class="footer">
2-
<div class="container">
3-
<div class="row justify-content-between align-items-center">
4-
<div class="col-12 ">
5-
<div class="footer-widget">
6-
<a class="mb-4 d-inline-block" href="{{ .Site.BaseURL }}">
7-
{{ if .Site.Params.logo }}
8-
<img src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}">
9-
{{ else }}
10-
<h2 class="mb-0 text-dark">{{ .Site.Title }}</h2>
11-
{{ end }}
12-
</a>
13-
<p class="mb-4">{{ .Site.Params.footer.content | markdownify }}</p>
14-
</div>
15-
</div>
16-
</div>
17-
</div>
18-
192
<div class="container">
203
<div class="row footer-btm mt-5 pt-4 border-top">
214
<div class="col-12">
22-
<!-- Copyright -->
23-
<p class="footer-copy">
24-
{{ .Site.Params.copyright | markdownify }}
25-
</p>
5+
<div class="footer-copy">
6+
<a href="{{ .Site.Params.copyright.link }}" rel="noopener">{{ .Site.Params.copyright.text | markdownify }}</a>
7+
</div>
268
</div>
279
</div>
2810
</div>

0 commit comments

Comments
 (0)