Skip to content

Commit

Permalink
feat: website skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
amstee committed Jun 2, 2024
1 parent 79daadd commit 533d88c
Show file tree
Hide file tree
Showing 27 changed files with 118 additions and 373 deletions.
57 changes: 1 addition & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,2 @@
<img align="right" width="150" alt="logo" src="https://user-images.githubusercontent.com/5889006/190859553-5b229b4f-c476-4cbd-928f-890f5265ca4c.png">
# amstee.github.io

# Hugo Theme Stack Starter Template

This is a quick start template for [Hugo theme Stack](https://github.com/CaiJimmy/hugo-theme-stack). It uses [Hugo modules](https://gohugo.io/hugo-modules/) feature to load the theme.

It comes with a basic theme structure and configuration. GitHub action has been set up to deploy the theme to a public GitHub page automatically. Also, there's a cron job to update the theme automatically everyday.

## Get started

1. Click *Use this template*, and create your repository on GitHub.
![Step 1](https://user-images.githubusercontent.com/5889006/156916624-20b2a784-f3a9-4718-aa5f-ce2a436b241f.png)

2. Once the repository is created, create a GitHub codespace associated with it.
![Create codespace](https://user-images.githubusercontent.com/5889006/156916672-43b7b6e9-4ffb-4704-b4ba-d5ca40ffcae7.png)

3. And voila! You're ready to go. The codespace has been configured with the latest version of Hugo extended, just run `hugo server` in the terminal and see your new site in action.

4. Check `config` folder for the configuration files. You can edit them to suit your needs. Make sure to update the `baseurl` property in `config/_default/config.toml` to your site's URL.

5. Once you're done editing the site, just commit it and push it. GitHub action will deploy the site automatically to GitHub page associated with the repository.
![GitHub action](https://user-images.githubusercontent.com/5889006/156916881-90b8bb9b-1925-4e60-9d7a-8026cda729bf.png)

---

In case you don't want to use GitHub codespace, you can also run this template in your local machine. **You need to install Git, Go and Hugo extended locally.**

## Update theme manually

Run:

```bash
hugo mod get -u github.com/CaiJimmy/hugo-theme-stack/v3
hugo mod tidy
```

> This starter template has been configured with `v3` version of theme. Due to the limitation of Go module, once the `v4` or up version of theme is released, you need to update the theme manually. (Modifying `config/module.toml` file)
## Deploy to another static page hostings

If you want to build this site using another static page hosting, you need to make sure they have Go installed in the machine.

<details>
<summary>Vercel</summary>

You need to overwrite build command to install manually Go:

```
amazon-linux-extras install golang1.11 && hugo --gc --minify
```

![](https://user-images.githubusercontent.com/5889006/156917172-01e4d418-3469-4ffb-97e4-a905d28b8424.png)

Make sure also to specify Hugo version in the environment variable `HUGO_VERSION` (Use the latest version of Hugo extended):

![Environment variable](https://user-images.githubusercontent.com/5889006/156917212-afb7c70d-ab85-480f-8288-b15781a462c0.png)
</details>
1 change: 1 addition & 0 deletions assets/icons/brand-linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/avatar.png
Binary file not shown.
10 changes: 10 additions & 0 deletions assets/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": [
"../../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!cai!jimmy/hugo-theme-stack/[email protected]/assets/*"
]
}
}
}
2 changes: 1 addition & 1 deletion config/_default/_languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
[en]
languageName = "English"
languagedirection = "ltr"
title = "Example Site"
title = "Jeremy Barneron"
weight = 1
4 changes: 2 additions & 2 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
baseurl = "https://amstee.github.io"
languageCode = "en-us"
paginate = 5
title = "Hugo Theme Stack Starter"
title = "Jeremy Barneron"

# Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
Expand All @@ -13,4 +13,4 @@ defaultContentLanguage = "en"
hasCJKLanguage = false

# Change it to your Disqus shortname before using
disqusShortname = "hugo-theme-stack"
disqusShortname = "jeremyb"
8 changes: 4 additions & 4 deletions config/_default/menu.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
[[social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/CaiJimmy/hugo-theme-stack"
url = "https://github.com/amstee"

[social.params]
icon = "brand-github"

[[social]]
identifier = "twitter"
identifier = "linkedin"
name = "Twitter"
url = "https://twitter.com"
url = "https://www.linkedin.com/in/jeremy-barneron/"

[social.params]
icon = "brand-twitter"
icon = "brand-linkedin"
8 changes: 4 additions & 4 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rssFullContent = true
favicon = "/favicon.png"

[footer]
since = 2020
since = 2024
customText = ""

[dateFormat]
Expand All @@ -14,12 +14,12 @@ lastUpdated = "Jan 02, 2006 15:04 MST"

[sidebar]
emoji = "🍥"
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
subtitle = "SWE with strong experience building scalable systems."

[sidebar.avatar]
enabled = true
local = true
src = "img/avatar.png"
src = "img/avatar.jpg"

[article]
headingAnchor = false
Expand Down Expand Up @@ -76,7 +76,7 @@ enabled = true

## Comments
[comments]
enabled = true
enabled = false
provider = "disqus"

[comments.disqusjs]
Expand Down
10 changes: 0 additions & 10 deletions content/categories/example-category/_index.md

This file was deleted.

10 changes: 10 additions & 0 deletions content/categories/flink/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Flink
description: Apache Flink is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams.
image:

# Badge style
style:
background: "#2a0d8f"
color: "#fff"
---
10 changes: 10 additions & 0 deletions content/categories/golang/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Golang
description: Go was created at Google in 2007, and since then, engineering teams across the world have adopted Go to build products and services at massive scale.
image:

# Badge style
style:
background: "#2a9d8f"
color: "#fff"
---
10 changes: 10 additions & 0 deletions content/categories/kafka/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Kafka
description: Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
image:

# Badge style
style:
background: "#2a9d8f"
color: "#fff"
---
44 changes: 44 additions & 0 deletions content/page/about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: "About Me"
date: 2024-06-02
slug: "about-me"
layout: article
links:
- title: Linkedin
description: Jeremy Barneron - Checkout my Linkedin !
website: https://www.linkedin.com/in/jeremy-barneron/
image: https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/LinkedIn_icon.svg/2048px-LinkedIn_icon.svg.png
- title: GitHub
description: Jeremy Barneron - Checkout my Github !
website: https://github.com/amstee/
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
license: false
menu:
main:
weight: 2
params:
icon: hash
---


Software Engineer with a strong experience building scalable systems.

I like to solve complex problems around delivering real time systems in perpetual growth. <br/>Proficient in utilising a variety of platforms, tools, and languages to deliver robust and scalable solutions.

Some of the technologies I work with include:
```yaml
Cloud: ["AWS", "GCP"]
Tools: ["Docker", "gRPC", "Protobuf", "Avro"]
CI/CD: ["Github Actions", "CircleCI", "ArgoCD"]
Databases: ["PostgreSQL", "Spanner", "DynamoDB"]
Streaming: ["Kafka", "Flink", "Debezium", "Kafka Connect"]
Observability: ["Graphana", "Prometheus", "OpenTelemetry"]
Infrastructure: ["Kubernetes", "Terraform", "Helm", "Kustomize"]
```
And my favourite languages are:
```yaml
languages: ["Golang", "Python", "Rust", "Java"]
```
If you want to reach out please feel free to DM me on [Linkedin](https://www.linkedin.com/in/jeremy-barneron/) or by email `[email protected]` !
2 changes: 1 addition & 1 deletion content/page/archives/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ layout: "archives"
slug: "archives"
menu:
main:
weight: 2
weight: 3
params:
icon: archives
---
28 changes: 8 additions & 20 deletions content/page/links/index.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
---
title: Links
links:
- title: Linkedin
description: Jeremy Barneron - Checkout my Linkedin !
website: https://www.linkedin.com/in/jeremy-barneron/
image: https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/LinkedIn_icon.svg/2048px-LinkedIn_icon.svg.png
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
description: Jeremy Barneron - Checkout my Github !
website: https://github.com/amstee/
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
menu:
main:
weight: 4
params:
icon: link

license: false
readingTime: false
comments: false
---

To use this feature, add `links` section to frontmatter.

This page's frontmatter:

```yaml
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
```
`image` field accepts both local and external images.
11 changes: 11 additions & 0 deletions content/post/flink-datalake/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Build your own Data Warehouse with Flink SQL"
date: 2024-06-02
layout: article
categories:
- flink
- kafka
---


Coming Soon !
Binary file removed content/post/hello-world/cover.jpg
Binary file not shown.
20 changes: 0 additions & 20 deletions content/post/hello-world/index.md

This file was deleted.

Binary file removed content/post/image-gallery/1.jpg
Binary file not shown.
Binary file removed content/post/image-gallery/2.jpg
Binary file not shown.
22 changes: 0 additions & 22 deletions content/post/image-gallery/index.md

This file was deleted.

Loading

0 comments on commit 533d88c

Please sign in to comment.