Skip to content

Commit ec56988

Browse files
authored
Merge pull request #1 from Netcentric/hugo-groundwork
Import theme
2 parents 4035f79 + 0f09105 commit ec56988

File tree

97 files changed

+3339
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+3339
-0
lines changed

.github/workflows/npm.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Site
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@master
15+
with:
16+
submodules: true
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Build Hugo
20+
uses: chabad360/hugo-gh-pages@v2
21+
with:
22+
githubToken: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### Hugo ###
2+
# Generated files by hugo
3+
/public/
4+
/resources/_gen/
5+
hugo_stats.json
6+
7+
# Executable may be added to repository
8+
hugo.exe
9+
hugo.darwin
10+
hugo.linux
11+
12+
# Temporary lock file while building
13+
/.hugo_build.lock
14+
15+
# Executable may be added to repository
16+
hugo.exe
17+
hugo.darwin
18+
hugo.linux
119
# Logs
220
logs
321
*.log
@@ -102,3 +120,5 @@ dist
102120

103121
# TernJS port file
104122
.tern-port
123+
124+
.DS_Store

.hugo_build.lock

Whitespace-only changes.

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,49 @@
11
# netcentric.github.io
2+
23
Netcentric Open Source Site
4+
5+
## To Do
6+
7+
- [x] Import theme
8+
- [x] Create Page / Blog structure
9+
- [x] Add basic NC values to configuration
10+
- [x] Add NC Logo
11+
- [ ] Add some NC color touches
12+
- [ ] Add Homepage content
13+
- [ ] Add Homepage meta description
14+
- [ ] Add Homepage meta title
15+
- [x] Add footer links back to NC site
16+
- [ ] Add link to Github Org
17+
- [ ] Add About content
18+
- [ ] Add Projects Content
19+
- [ ] Remove demo content
20+
- [x] Remove demo content images
21+
- [ ] See if we can unused JS/CSS
22+
- [ ] Performance checks
23+
24+
## Contribute
25+
26+
1. Clone the repository
27+
2. Create Markdown pages
28+
3. Test your content locally
29+
4. Open a PR
30+
31+
### Install Hugo
32+
33+
```bash
34+
brew install hugo
35+
# or
36+
port install hugo
37+
```
38+
39+
### Local server
40+
41+
```bash
42+
hugo server
43+
```
44+
45+
### Build locally
46+
47+
```bash
48+
hugo
49+
```

archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

config.toml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
######################## default configuration ####################
2+
baseURL = "https://examplesite.com"
3+
languageCode = "en-us"
4+
title = "Netcentric Open Source"
5+
theme = "influencer-hugo"
6+
summaryLength = "10"
7+
paginate = 6
8+
9+
############################# Plugins ##############################
10+
[params.plugins]
11+
12+
# CSS Plugins
13+
[[params.plugins.css]]
14+
URL = "plugins/bootstrap/bootstrap.min.css"
15+
[[params.plugins.css]]
16+
URL = "plugins/slick/slick.css"
17+
[[params.plugins.css]]
18+
URL = "plugins/themify-icons/themify-icons.css"
19+
[[params.plugins.css]]
20+
URL = "plugins/magnific-popup/magnific-popup.css"
21+
22+
# JS Plugins
23+
[[params.plugins.js]]
24+
URL = "plugins/jQuery/jquery.min.js"
25+
[[params.plugins.js]]
26+
URL = "plugins/bootstrap/bootstrap.min.js"
27+
[[params.plugins.js]]
28+
URL = "plugins/slick/slick.min.js"
29+
[[params.plugins.js]]
30+
URL = "plugins/magnific-popup/magnific-popup.min.js"
31+
32+
33+
############################## navigation ###############################
34+
[menu]
35+
36+
[[menu.main]]
37+
name = "About"
38+
URL = "about"
39+
weight = 1
40+
41+
[[menu.main]]
42+
name = "Projects"
43+
URL = "https://github.com/orgs/Netcentric/repositories"
44+
weight = 2
45+
46+
[[menu.main]]
47+
name = "Code of Conduct"
48+
URL = "code-of-conduct"
49+
weight = 3
50+
51+
[[menu.main]]
52+
name = "Blog"
53+
URL = "blog"
54+
weight = 4
55+
56+
57+
#################### default parameters ################################
58+
[params]
59+
logo = "images/netcentric-logo.svg"
60+
home = "Home"
61+
# Meta data
62+
description = ""
63+
author = "Themefisher"
64+
# Google Analitycs
65+
googleAnalitycsID = "" # Your ID
66+
[params.copyright]
67+
text = "Netcentric, A Cognizant Digital Business"
68+
link = "https://www.netcentric.biz/"
69+
70+
# Preloader
71+
[params.preloader]
72+
enable = true
73+
preloader = "" # use .png , .svg or .gif format
74+
75+
# Navigation get start button
76+
[params.navButton]
77+
enable = false
78+
79+
# cookies
80+
[params.cookies]
81+
enable = false
82+
expire_days = 2
83+
84+
85+
############################# post share ###################
86+
[[params.share]]
87+
title = "facebook"
88+
icon = "ti-facebook" # themify icon : https://themify.me/themify-icons
89+
link = "#"
90+
91+
[[params.share]]
92+
title = "twitter"
93+
icon = "ti-twitter-alt" # themify icon : https://themify.me/themify-icons
94+
link = "#"
95+
96+
[[params.share]]
97+
title = "linkedin"
98+
icon = "ti-linkedin" # themify icon : https://themify.me/themify-icons
99+
link = "#"
100+
101+
[[params.share]]
102+
title = "github"
103+
icon = "ti-github" # themify icon : https://themify.me/themify-icons
104+
link = "#"

content/about/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "About"
3+
date: 2021-12-23T15:28:43+06:00
4+
draft: false
5+
description: ""
6+
layout: page
7+
---
8+
9+
{{% about %}}

content/blog/2022-01-09.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "Welcome to our new open source site"
3+
date: 2022-01-09T15:28:43+06:00
4+
draft: false
5+
author:
6+
name: "Ricard Torres"
7+
url: "https://github.com/quicoto"
8+
type: "post"
9+
---
10+
11+
Netcentric is proud to have launched this microsite to showcase our open source projects and contributions 🙌
12+
13+
## What to expect?
14+
15+
We will use this as a platform to update the community on repository milestones and updates in general.
16+
17+
For now head over to our [Github Organization](https://github.com/Netcentric). Fork any repo and contribute!

content/blog/2022-01-10.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Netcentric's coding and style rules for Stylelint"
3+
date: 2022-01-10T15:28:43+06:00
4+
draft: false
5+
author:
6+
name: "Ricard Torres"
7+
url: "https://github.com/quicoto"
8+
type: "post"
9+
---
10+
11+
We have recently released a [new open source project](https://github.com/Netcentric/stylelint-config) for all those frontend heroes out there 🎉
12+
13+
At Netcentric we use [Stylelint](https://stylelint.io/) to ensure code quality amongst all projects when it comes to writing CSS, [SASS](https://sass-lang.com/), or [PostCSS](https://postcss.org/).
14+
15+
We have defined a set of rules as standards for all projects. Upon starting a new project the Tech Lead in charge of creating the frontend build will include this styling configuration. Hence, inheriting the Netcentric code style guidelines. And now, so can you!
16+
17+
If you don't know how, we've written a [Readme.md](https://github.com/Netcentric/stylelint-config/blob/main/README.md) for you to get started.
18+
19+
## Find any issues?
20+
21+
Pull requests are welcome! ❤️
22+
23+
## Grab it
24+
25+
👉 [Netcentric/stylelint-config](https://github.com/Netcentric/stylelint-config)

content/blog/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Blog"
3+
date: 2019-11-23T15:28:43+06:00
4+
draft: false
5+
description: "Updates on our Github repositories"
6+
---
7+

0 commit comments

Comments
 (0)