diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 3283b25..0000000 --- a/LICENSE +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) 2024 Skynet - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index bf025da..0000000 --- a/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Deploying to Skynet -This is a repo that is used as a template to deploy to Skynet - - -## Create SSH Key -Details to do this can be found here: [wiki](https://wiki.skynet.ie/tutorials/skynet/create_ssh/) -It is recommended to create a new key for just Forgejo Actions. - -### Add key to kynet account -Add the contents of ``$USERNAME.pub`` (public key) to [your skynet account](https://account.skynet.ie/modify_ssh) - -## Secrets -One secret must be added to make this work. - -Secrets are found in your repo under ``Settings > Actions > Secrets`` - -* SSH_KEY - * This is your private key that was generated above - -End result should look like this: - - - -## Make changes to ``src`` -Make changes to the files in ``src``. -Commit and push. -If everything was set up fine then your site will soon be live on ``https://$USERNAME.users.skynet.ie`` \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/post-2025-01-01:1.md b/content/posts/post-2025-01-01:1.md new file mode 100644 index 0000000..9fcb30a --- /dev/null +++ b/content/posts/post-2025-01-01:1.md @@ -0,0 +1,18 @@ +--- +title: "A introduction to my blog!" +date: 2025-02-01 +draft: false +description: “Welcome to my Blog!” +--- +Hi, my name is Shay Power, I have created this blog to document my journey as a software developer. +Im not very good at writing, so i will be trying to keep these blog posts short. let me introduce +who i am and what I do. + +I started programming at the age of 14, when i built my first PC. I originally began with python and +used that for the past 4 years for both personal and professional projects. i have a deep knowledge of the +django framework, and worked as a freelance contractor developing web applications using it. I also run +a home server as a hobby, and a 3d printing farm (both FDM and M/SLA), I also am a strong advocate for FOSS (Free and open-source software). + +In terms of academics, i was the first person to achieve a H1 in computer science in my secondary school, and have completed +a QQI course in software development, with 8/8 disctinctions. I am currently enrolled in the University Of Limerick and expect +to graduate in 2028. \ No newline at end of file diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..0650f76 --- /dev/null +++ b/content/search.md @@ -0,0 +1,8 @@ +--- +title: "Search" # in any language you want +layout: "search" # necessary for search +# url: "/archive" +# description: "Description for Search" +summary: "search" +placeholder: "search" +--- \ No newline at end of file diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..171bf1b --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,124 @@ +baseURL: "https://shaypower.org/" +title: Shay's Blog +paginate: 5 +theme: PaperMod + +enableRobotsTXT: true +buildDrafts: false +buildFuture: false +buildExpired: false + +minify: + disableXML: true + minifyOutput: true + +params: + env: production # to enable google analytics, opengraph, twitter-cards and schema. + title: Shay's Blog + description: "A blog documenting my journey as a software developer" + keywords: [Blog, Portfolio, PaperMod] + author: Me + # author: ["Me", "You"] # multiple authors + images: [""] + DateFormat: "January 2, 2006" + defaultTheme: auto # dark, light + disableThemeToggle: false + + ShowReadingTime: true + ShowShareButtons: true + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: false + ShowWordCount: true + ShowRssButtonInSectionTermList: true + UseHugoToc: true + disableSpecial1stPost: false + disableScrollToTop: false + comments: false + hidemeta: false + hideSummary: false + showtoc: false + tocopen: false + + assets: + # disableHLJS: true # to disable highlight.js + # disableFingerprinting: true + favicon: "" + favicon16x16: "" + favicon32x32: "" + apple_touch_icon: "" + safari_pinned_tab: "" + + label: + text: "Home" + icon: /apple-touch-icon.png + iconHeight: 35 + + # home-info mode + homeInfoParams: + Title: "Hi there \U0001F44B" + Content: Welcome to my blog + + socialIcons: + - name: github + url: "https://github.com/shaypower" + - name: LinkedIn + url: "https://www.linkedin.com/in/shay-power-8100272a0/" + - name: Email + url: "mailto:shaythomaspower@gmail.com" + + + analytics: + google: + SiteVerificationTag: "XYZabc" + bing: + SiteVerificationTag: "XYZabc" + yandex: + SiteVerificationTag: "XYZabc" + + cover: + hidden: true # hide everywhere but not in structured data + hiddenInList: true # hide on list pages and home + hiddenInSingle: true # hide on single page + + # for search + # https://fusejs.io/api/options.html + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + limit: 10 # refer: https://www.fusejs.io/api/methods.html#search + keys: ["title", "permalink", "summary", "content"] +menu: + main: + - identifier: categories + name: categories + url: /categories/ + weight: 10 + - identifier: tags + name: tags + url: /tags/ + weight: 20 + - identifier: search + name: search + url: /search + weight: 30 +# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma +pygmentsUseClasses: true +markup: + highlight: + noClasses: false + # anchorLineNos: true + # codeFences: true + # guessSyntax: true + # lineNos: true + # style: monokai + +outputs: + home: + - HTML + - RSS + - JSON # necessary for search \ No newline at end of file diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..e919aff --- /dev/null +++ b/public/404.html @@ -0,0 +1,6 @@ +
Hi, my name is Shay Power, I have created this blog to document my journey as a software developer. Im not very good at writing, so i will be trying to keep these blog posts short. let me introduce who i am and what I do. +I started programming at the age of 14, when i built my first PC. I originally began with python and used that for the past 4 years for both personal and professional projects....
Hi, my name is Shay Power, I have created this blog to document my journey as a software developer. Im not very good at writing, so i will be trying to keep these blog posts short. let me introduce who i am and what I do. +I started programming at the age of 14, when i built my first PC. I originally began with python and used that for the past 4 years for both personal and professional projects....
Hi, my name is Shay Power, I have created this blog to document my journey as a software developer. +Im not very good at writing, so i will be trying to keep these blog posts short. let me introduce +who i am and what I do.
I started programming at the age of 14, when i built my first PC. I originally began with python and +used that for the past 4 years for both personal and professional projects. i have a deep knowledge of the +django framework, and worked as a freelance contractor developing web applications using it. I also run +a home server as a hobby, and a 3d printing farm (both FDM and M/SLA), I also am a strong advocate for FOSS (Free and open-source software).
In terms of academics, i was the first person to achieve a H1 in computer science in my secondary school, and have completed +a QQI course in software development, with 8/8 disctinctions. I am currently enrolled in the University Of Limerick and expect +to graduate in 2028.
+
+
{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}
+{{ . | markdownify }}
{{- end }} + {{- end }} +{{ .Get "summary" | markdownify }}
+ {{ .Inner | markdownify }}
+
+ {{- .Get "caption" | markdownify -}} + {{- with .Get "attrlink" }} + + {{- end -}} + {{- .Get "attr" | markdownify -}} + {{- if .Get "attrlink" }}{{ end }}
+ {{- end }} +