Skip to content

Commit

Permalink
off you go
Browse files Browse the repository at this point in the history
  • Loading branch information
hyouteki committed Dec 21, 2023
0 parents commit 19a3549
Show file tree
Hide file tree
Showing 24 changed files with 256 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.115.4
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
Binary file added .github/workflows/msys2-x86_64-20231026.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-theme-stack"]
path = themes/hugo-theme-stack
url = https://github.com/CaiJimmy/hugo-theme-stack.git
Empty file added .hugo_build.lock
Empty file.
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
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": {
"*": [
"..\\themes\\hugo-theme-stack\\assets\\*"
]
}
}
}
7 changes: 7 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
[menu]
[main]
name = "Home"
weight = "1"
params.icon = "home"
+++
Binary file added content/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions content/page/archives/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
+++
title = 'Archives'
date = 2023-12-21T14:32:17+05:30
layout = "archives"
slug = "archives"
[menu]
[main]
weight = 2
params.icon = "archives"
+++
10 changes: 10 additions & 0 deletions content/page/search/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
+++
title = "Search"
slug = "search"
layout = "search"
outputs = ["html", "json"]
[menu]
[main]
weight = 3
params.icon = "search"
+++
Binary file added content/projects/25acres/cover.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 added content/projects/25acres/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions content/projects/25acres/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
+++
title = '25acres'
date = 2023-12-21T13:56:29+05:30
draft = false
slug = "25acres"
image = 'cover.jpg'
weight = 1
categories = ["security", "real-estate", "website"]
tags = ["django", "python", "crytography", "security"]
description = "A Real Estate Aggregator System; designed to facilitate the secure exchange and verification of property-related documents."
+++

> Repository: https://github.com/W1NDSOR/25acres
108 changes: 108 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
baseurl = 'https://w1ndsor.github.io'
languageCode = "en-us"
title = "Windsor"
theme = "hugo-theme-stack"

[[menu.main]]
identifier = "ankit"
name = "Ankit"
url = "https://github.com/ankitkat042"
[menu.main.params]
icon = "user"
newtab = true

[[menu.main]]
identifier = "chaitanya"
name = "Chaitanya"
url = "https://github.com/Chaitanya21033"
[menu.main.params]
icon = "user"
newtab = true

[[menu.main]]
identifier = "lakshay"
name = "Lakshay"
url = "https://github.com/hyouteki"
[menu.main.params]
icon = "user"
newtab = true

[[menu.main]]
identifier = "sameer"
name = "Sameer"
url = "https://github.com/guptasameer112"
[menu.main.params]
icon = "user"
newtab = true

[[menu.social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/W1NDSOR"
[menu.social.params]
icon = "brand-github"

[params]
# Pages placed under these sections will be shown on homepage and archive page.
mainSections = ["projects"]
# Output page's full content in RSS.
favicon = "/avatar.jpg"

[params.footer]
since = 2023
# customText = "Made with love by Windsor"

[params.dateFormat]
published = "Jan 02, 2006"
lastUpdated = "Jan 02, 2006 15:04 MST"

[params.sidebar]
emoji = ""
subtitle = "P.S. Not affiliated with 'House of Windsor'"

[params.sidebar.avatar]
enabled = false
local = true
src = "/avatar.jpg"

[params.article]
math = false
readingTime = true

[params.article.license]
enabled = true
default = "Licensed under MIT"

## Widgets
[[params.widgets.homepage]]
type = "search"

[[params.widgets.homepage]]
type = "archives"
params.limit = 5

[[params.widgets.homepage]]
type = "categories"
params.limit = 10

[[params.widgets.homepage]]
type = "tag-cloud"
params.limit = 10

[[params.widgets.page]]
type = "toc"

[params.defaultImage.opengraph]
enabled = false
local = false
src = ""

[params.colorScheme]
toggle = true
default = "auto"

[params.imageProcessing.cover]
enabled = true

[params.imageProcessing.content]
enabled = true

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"scss/style.min.24ef1cc321916467896e8c70c10c0ad7b98c2a8df14298032fb637216e397f50.css","MediaType":"text/css","Data":{"Integrity":"sha256-JO8cwyGRZGeJboxwwQwK17mMKo3xQpgDL7Y3IW45f1A="}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/hugo-theme-stack
Submodule hugo-theme-stack added at 21da06

0 comments on commit 19a3549

Please sign in to comment.