diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml deleted file mode 100644 index 2e7445e..0000000 --- a/.github/workflows/hugo.yaml +++ /dev/null @@ -1,79 +0,0 @@ -# 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.128.0 - 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@v4 - with: - submodules: recursive - fetch-depth: 0 - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Install Node.js dependencies - run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - - name: Build with Hugo - env: - HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache - HUGO_ENVIRONMENT: production - TZ: America/Los_Angeles - run: | - hugo \ - --gc \ - --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - 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@v4 - diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 0299c7e..0000000 --- a/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# ---> Hugo -# Generated files by hugo -/public/ -/resources/_gen/ -/assets/jsconfig.json -hugo_stats.json - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - -# Temporary lock file while building -/.hugo_build.lock - diff --git a/README.md b/README.md deleted file mode 100644 index 5f0332e..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# qenya.tel - diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index c6f3fce..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -date = {{ .Date }} -draft = true -+++ diff --git a/assets/css/main.css b/assets/css/main.css deleted file mode 100644 index 9893845..0000000 --- a/assets/css/main.css +++ /dev/null @@ -1,153 +0,0 @@ -/* TYPOGRAPHY */ - -body { - /* TODO: add custom font */ - font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif; - font-size-adjust: 0.5; - background-color: white; - color: #111; -} - -a { - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -h1 a { - color: black; - transition-duration: 0.2s; -} - -h1 a:hover { - color: #303030; - text-decoration: none; -} - -h1 { - line-height: 1.2; -} - -hr { - border: 0; - height: 1px; - background: #ccc; - max-width: 40em; - margin: 4em auto; - text-align: center; -} - - -/* LAYOUT */ - -body { - margin: 0; - padding: 0; - font-size: 100%; -} - -.layout-header { - margin: 0 auto; - padding: 1rem 2rem; - opacity: 0.4; - transition-property: opacity; - transition-duration: 0.4s; -} - -.layout-header:hover { - opacity: 1; -} - -.layout-page-title { - display: inline; - font-size: 1.6rem; -} - -.layout-description { - display: none; -} - -.layout-menu { - display: inline; - margin: 0 1rem; - line-height: 2.4em; -} - -.layout-menu ul { - list-style: none; - margin: 0; - padding: 0; - - display: inline-flex; - gap: 1em; -} - -.layout-menu a { - color: #767676; -} - -.layout-description { - color: #444; - font-size: 1.1em; - margin-top: 0.5em; - line-height: 1.5; -} - -.layout-main { - max-width: 50rem; - margin: 1rem auto; -} - -.layout-post { - padding: 0.5em 2rem 1.5em; -} - -.layout-footer { - text-align: center; - padding: 0 2rem 4rem; - color: #444; -} - - -/* LAYOUT (SPECIFIC PAGES) */ - -.kind-home .layout-header { - margin: 3rem auto 4rem; - padding: 0 1rem; - text-align: center; - max-width: 50rem; - opacity: 1; -} - -.kind-home .layout-menu { - display: block; - margin: 1rem 0; -} - -.kind-home .layout-menu ul { - gap: 1.5em; -} - -.kind-home .layout-description { - display: block; -} - -.kind-page .layout-post { - max-width: 40rem; - margin: 0 auto 2rem; - font-size: 1.2em; - line-height: 1.5; -} - -.kind-page .layout-post-title { - font-size: 1.5em; - margin: 0 0 1em; -} - -.kind-page .layout-post-time { - display: block; - color: #666; - margin: -1em 0 1em; -} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index e2aac52..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This site was generated by Hugo.'); diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 652623b..0000000 --- a/content/_index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = 'Home' -date = 2023-01-01T08:00:00-07:00 -draft = false -+++ - -Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat -pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim -excepteur excepteur pariatur nostrud qui irure ullamco. diff --git a/content/posts/_index.md b/content/posts/_index.md deleted file mode 100644 index e7066c0..0000000 --- a/content/posts/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = 'Posts' -date = 2023-01-01T08:30:00-07:00 -draft = false -+++ - -Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. diff --git a/content/posts/post-1.md b/content/posts/post-1.md deleted file mode 100644 index 3e3fc6b..0000000 --- a/content/posts/post-1.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 1' -date = 2023-01-15T09:00:00-07:00 -draft = false -tags = ['red'] -+++ - -Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem. - -Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do. diff --git a/content/posts/post-2.md b/content/posts/post-2.md deleted file mode 100644 index 22b8287..0000000 --- a/content/posts/post-2.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 2' -date = 2023-02-15T10:00:00-07:00 -draft = false -tags = ['red','green'] -+++ - -Anim eiusmod irure incididunt sint cupidatat. Incididunt irure irure irure nisi ipsum do ut quis fugiat consectetur proident cupidatat incididunt cillum. Dolore voluptate occaecat qui mollit laborum ullamco et. Ipsum laboris officia anim laboris culpa eiusmod ex magna ex cupidatat anim ipsum aute. Mollit aliquip occaecat qui sunt velit ut cupidatat reprehenderit enim sunt laborum. Velit veniam in officia nulla adipisicing ut duis officia. - -Exercitation voluptate irure in irure tempor mollit Lorem nostrud ad officia. Velit id fugiat occaecat do tempor. Sit officia Lorem aliquip eu deserunt consectetur. Aute proident deserunt in nulla aliquip dolore ipsum Lorem ut cupidatat consectetur sit sint laborum. Esse cupidatat sit sint sunt tempor exercitation deserunt. Labore dolor duis laborum est do nisi ut veniam dolor et nostrud nostrud. diff --git a/content/posts/post-3/bryce-canyon.jpg b/content/posts/post-3/bryce-canyon.jpg deleted file mode 100644 index 9a923be..0000000 Binary files a/content/posts/post-3/bryce-canyon.jpg and /dev/null differ diff --git a/content/posts/post-3/index.md b/content/posts/post-3/index.md deleted file mode 100644 index ca42a66..0000000 --- a/content/posts/post-3/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Post 3' -date = 2023-03-15T11:00:00-07:00 -draft = false -tags = ['red','green','blue'] -+++ - -Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat. - - - -Sit excepteur do velit veniam mollit in nostrud laboris incididunt ea. Amet eu cillum ut reprehenderit culpa aliquip labore laborum amet sit sit duis. Laborum id proident nostrud dolore laborum reprehenderit quis mollit nulla amet veniam officia id id. Aliquip in deserunt qui magna duis qui pariatur officia sunt deserunt. diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 9bbe3c2..0000000 --- a/hugo.toml +++ /dev/null @@ -1,21 +0,0 @@ -baseURL = 'https://qenya.tel/' -languageCode = 'en-GB' -title = 'qenya' - -[params] -description = "A work in progress. Don't @ me please" - -[[menus.main]] -name = 'Home' -pageRef = '/' -weight = 10 - -[[menus.main]] -name = 'Posts' -pageRef = '/posts' -weight = 20 - -[[menus.main]] -name = 'Tags' -pageRef = '/tags' -weight = 30 \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..9a83ea5 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + +
+ + + + +I should probably put something here…
+Relevant identities:
+ + + + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index e722db3..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - {{ partial "head.html" . }} - - -Copyright {{ now.Year }}. All rights reserved.
diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 02c2240..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,5 +0,0 @@ - - -{{ . }}
{{end}} -{{ partial "menu.html" (dict "menuID" "main" "page" .) }} \ No newline at end of file diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html deleted file mode 100644 index 10c2255..0000000 --- a/layouts/partials/menu.html +++ /dev/null @@ -1,51 +0,0 @@ -{{- /* -Renders a menu for the given menu ID. - -@context {page} page The current page. -@context {string} menuID The menu ID. - -@example: {{ partial "menu.html" (dict "menuID" "main" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $menuID := .menuID }} - -{{- with index site.Menus $menuID }} - -{{- end }} - -{{- define "partials/inline/menu/walk.html" }} - {{- $page := .page }} - {{- range .menuEntries }} - {{- $attrs := dict "href" .URL }} - {{- if $page.IsMenuCurrent .Menu . }} - {{- $attrs = merge $attrs (dict "class" "active" "aria-current" "page") }} - {{- else if $page.HasMenuCurrent .Menu .}} - {{- $attrs = merge $attrs (dict "class" "ancestor" "aria-current" "true") }} - {{- end }} - {{- $name := .Name }} - {{- with .Identifier }} - {{- with T . }} - {{- $name = . }} - {{- end }} - {{- end }} -