Skip to content

Commit

Permalink
fix: Fonts (#26)
Browse files Browse the repository at this point in the history
* test: Fonts
* fix: Cleanup
* docs: Update contact form
* fix: Fonts
* chore: Update changelog
  • Loading branch information
MAHDTech authored Dec 20, 2023
1 parent eef9a97 commit 35bae34
Show file tree
Hide file tree
Showing 16 changed files with 103 additions and 741 deletions.
80 changes: 0 additions & 80 deletions .devenv.flake.nix

This file was deleted.

Binary file added assets/images/logo.webp
Binary file not shown.
37 changes: 20 additions & 17 deletions config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ archetypeDir: archetypes
assetDir: assets

# hostname (and path) to the root
baseURL: ""
#baseURL: ""

# Build configuration
build:
Expand Down Expand Up @@ -165,13 +165,13 @@ ignoreCache: true
imaging:
# Resample filter
# Ref: https://github.com/disintegration/imaging
resampleFilter: box
resampleFilter: Box

# Default quality for JPEG
quality: 90

# Anchor used when cropping pictures
anchor: smart
anchor: Smart

# Default background color
bgColor: "#ffffff"
Expand Down Expand Up @@ -214,7 +214,7 @@ markup:
asciidocExt:
attributes: {}
backend: html5
docType: article
#docType: article
extensions: []
failureLevel: fatal
noHeaderOrFooter: true
Expand Down Expand Up @@ -254,7 +254,9 @@ markup:
taskList: true
typographer: true
parser:
attribute: true
attribute:
block: false
title: true
autoHeadingID: true
autoHeadingIDType: github
renderer:
Expand All @@ -265,7 +267,7 @@ markup:
highlight:
codeFences: true
guessSyntax: false
hl_Lines: ""
hl_Lines: 1
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
Expand All @@ -275,18 +277,14 @@ markup:
tabWidth: 2

tableOfContents:
startLevel: 0
startLevel: 1
endLevel: 6
ordered: false

mediaTypes:
application/manifest+json:
suffixes:
- webmanifest
text/netlify:
delimiter: ""
suffixes:
- ""

# Minify configuration
minify:
Expand All @@ -299,7 +297,6 @@ minify:
minifyOutput: true
tdewolff:
css:
decimals: -1
keepCSS2: true
html:
keepConditionalComments: true
Expand All @@ -308,10 +305,16 @@ minify:
keepEndTags: true
keepQuotes: false
keepWhitespace: false
js: {}
json: {}
js:
keepVarNames: false
precision: 0
version: 0
json:
keepNumbers: false
precision: 0
svg:
decimals: -1
keepComments: false
precision: 0
xml:
keepWhitespace: false

Expand Down Expand Up @@ -408,10 +411,10 @@ themesDir: themes
theme: godocs-4

# Timeout for generating page contents
timeout: 10000
timeout: "900s"

# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
timeZone: "UTC"
timeZone: "Australia/Sydney"

# Website title
title: Docs
Expand Down
4 changes: 2 additions & 2 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
favicon: "images/favicon.png"
logo: "images/logo.png"
logo: "images/logo.webp"

main_site_link: "https://saltlabs.tech"

Expand All @@ -20,7 +20,7 @@ google_adsense: ""

google_tag_manager: "GTM-WQQVKD7"

custom_script: '<script>console.log("Preloading salt...")</script>'
custom_script: '<script>console.log("Shaking salt...")</script>'

table_of_content: true
copyright: Copyleft by Salt Labs
Expand Down
18 changes: 18 additions & 0 deletions content/changelog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ draft: false

🔮

### November 2023

Added an awesome Carvel YouTube video from Thomas Vitale.

{{< changelog "Added" >}}

- Added link to YouTube video _Supercharge your Kubernetes Platform with Carvel by Thomas Vitale_

{{</ changelog >}}

{{< changelog "Changed" >}}

- Update Theme version
- Update NodeJS dependencies
- Updated Go module dependencies

{{</ changelog >}}

### July 2023

Added carvel tutorial and `kapp-controller` deployment option draft diagrams.
Expand Down
34 changes: 24 additions & 10 deletions hugo.toml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,50 +1,64 @@
#########################
# DON'T REMOVE THIS FILE.
#########################

# This file is for render site varibles and plugins
#
# The actual configuration files are stored in the `config/_default/` folder.

######################### site variables ##############################
# customize your color and font from here.

[params.variables]

color_primary = "#710793"
text_color = "#333"

text_color = "#555"
text_dark = "#222"
text_light = "#999"

body_color = "#fff"
border_color = "#E2E2E2"

black = "#000"
white = "#fff"
light = "#FBFBFB"

# go to https://fonts.google.com/ to find the font you want to use. select your font and copy only the bold part from the URL. and paste it here.
# go to https://fonts.google.com/ to find the font you want to use.
# select your font and copy only the bold part from the URL. and paste it here.
# example: "Work+Sans:wght@400;500;600"
font_icon = "Font Awesome 6 Free" # https://fontawesome.com/v6/icons
font_primary = "Poppins:wght@300;400;500;600;700;800"
font_primary_type = "sans-serif" # [serif/sans-serif]
font_secondary = ""
font_secondary_type = "" # [serif/sans-serif]

font_icon = "Font Awesome 6 Free" # https://fontawesome.com/v6/icons

font_primary = "Poppins:wght@300;400;500;600;700;800"
font_primary_type = "sans-serif"

font_secondary = "Roboto:wght@300;400;500;600;700;800"
font_secondary_type = "sans-serif"

# font variable
# base font size for full website,
# base font size for full website,
font_size = "16px" # default is 16px

############################# Plugins ##############################

# CSS Plugins
[[params.plugins.css]]
link = "plugins/font-awesome/v6/brands.css"

[[params.plugins.css]]
link = "plugins/font-awesome/v6/solid.css"

[[params.plugins.css]]
link = "plugins/font-awesome/v6/icons.css"

# JS Plugins
[[params.plugins.js]]
link = "plugins/glightbox.js"

[[params.plugins.js]]
link = "plugins/webfont/webfont-loader-2.js"

[[params.plugins.js]]
link = "plugins/masonry/masonry.min.js"

[[params.plugins.js]]
link = "plugins/cookie.js"
2 changes: 1 addition & 1 deletion layouts/_default/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="section-title">{{ .Title }}</h2>
name="reason"
required
>
<option selected disabled>Choose Your Reason</option>
<option selected disabled>Choose your own adventure</option>
<option value="business">Business</option>
<option value="project">Project</option>
<option value="ticket">Ticket</option>
Expand Down
Loading

0 comments on commit 35bae34

Please sign in to comment.