Skip to content

Commit

Permalink
Synced by Front Matter
Browse files Browse the repository at this point in the history
  • Loading branch information
d-oit committed May 24, 2024
1 parent cef380c commit 6ec185b
Show file tree
Hide file tree
Showing 37 changed files with 130 additions and 531 deletions.
2 changes: 1 addition & 1 deletion .frontmatter/database/mediaDb.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"github":{"d-oit.github.io":{"doitblog":{"static":{"img":{"logo":{}}},"assets":{"img":{"logo":{}}}}}}}
{"github":{"d-oit.github.io":{"doitblog":{"static":{"img":{"logo":{}}},"assets":{"img":{"logo":{},"blog":{}}}}}}}
9 changes: 9 additions & 0 deletions .frontmatter/database/templates/ContentWithThumbnail
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title:
description:
date: 2024-05-17T10:54:33.643Z
tags: [".NET","Software Development"]
thumbnail:
url: img/blog/File.jpg
origin: Copilot Designer
---
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"mobiledevices"
],
"cSpell.words": [
"mobiledevices"
"lastig",
"mobiledevices",
"sprachigen"
]
}
12 changes: 1 addition & 11 deletions assets/favicon.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/blog/VisualStudioCodeWorkspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
219 changes: 1 addition & 218 deletions assets/img/favicon.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 modified assets/img/logo/doit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 0 additions & 91 deletions assets/img/logo/doit.svg

This file was deleted.

Binary file added assets/img/logo/doitLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 1 addition & 35 deletions assets/img/logo/doitLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
enabled = false
sort = "weight"
reverse = false
webshare = true


[sections]
[sections.blog]
Expand Down
2 changes: 1 addition & 1 deletion content/de/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updated: 2023-08-02
showComments: false
---

{{< image src="/img/logo/doit.svg" class="img-fluid w-50" wrapper="text-center" >}}
{{< image src="/img/logo/doitLogo.svg" class="img-fluid w-50" wrapper="text-center" >}}

Ich schreibe über aktuelle Themen die mich beschäftigen und ich gerne ausprobieren möchten.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Statische Website erstellen
description: Website mit Hugo Hinode Theme erstellen
slug: statische-website-erstellen
date: 2024-05-23T14:21:58.426Z
preview: ""
draft: true
tags:
- Hugo
- Website
- Hinode
thumbnail:
url: /img/logo_var.svg#logo
author: Mark Dumay
authorURL: https://gethinode.com/docs/about/credits/?menu=about
origin: null
originURL: null
keywords:
- website
---

## Blog Wiederbelebung

Den bisherigen Blog habe ich seit ein paar Jahren vernachlässigt. Aktuell ist es wieder an der Zeit diesem neues Leben einzuverleiben.

Das ist mein Setup zum Schreiben. Wichtig war mir die offline Funktionalität, Mehrsprachigkeit, einfache Verwendung von github pages mit actions Funktionen.
Und vor allem Performance :performing_arts:

Der Blog wird im english sprachigen Teil eher Entwickler/Technik lastig. Das Setup ist durch meinen Hintergrund im IT Bereich zu Stande gekommen.

### Hugo

Grundlage vom *Hinode* Theme ist **Hugo**. Eines der am weitesten verbreitetsten Generatoren von statischen Website. Lokal wird dabei mit einem Editor der Inhalt erstellt. Hugo als Generator erzeugt daraufhin html Dateien welche der Browser anzeigt.

Infos zu Hugo hier zu finden: https://gohugo.io/ oder https://de.wikipedia.org/wiki/Hugo_(Software)

## Lokale Installation

Los geht es mit der lokalen Installation. In der Beschreibung wird Windows verwendet, unterstützt werden natürlich auch andere Umgebungen.

Vorgehensweise ist in der Dokumentation des **Hinode Hugo Theme** ausführlich beschrieben: https://gethinode.com/docs/getting-started/introduction/

1. Hugo Installation >> https://gohugo.io/getting-started/quick-start/#prerequisites
2. Git als Versionsverwaltung >> https://git-scm.com/downloads (Dateien werden auf github oder gitlab hochgeladen und als pages / website angezeigt)
3. Visual Studio Code >> https://code.visualstudio.com/Download
4. Visual Studio Code Erweiterungen
- Front Matter CMS
- German - Code Spell Checker
- Font Awesome Auto-complete & Preview
Aktueller Stand als PowerShell Installation Gist >> https://gist.github.com/d-oit/d3496a25f7de86f4c45d339a31040405
Ermittlung

*Voraussetzung*: Command Line Interface (CLI) >> https://code.visualstudio.com/docs/editor/command-line

{{< image src="img/blog/VisualStudioCodeWorkspace.png" >}}




2 changes: 1 addition & 1 deletion content/en/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updated: 2023-08-02
showComments: false
---

{{< image src="/img/logo/doit.svg" class="img-fluid w-50" wrapper="text-center" >}}
{{< image src="/img/logo/doitLogo.svg" class="img-fluid w-50" wrapper="text-center" >}}

{{< card-group align="center" class="border-0" padding="3" >}}
{{< card title="Natur" icon="fas tree" >}}
Expand Down
5 changes: 4 additions & 1 deletion content/en/blog/2024-05-17-ms-sql-date-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "MS SQL: Date Format"
description: "Microsoft SQL Server date Format"
date: 2024-05-17T10:54:33.643Z
thumbnail:
url: img\blog\SQLDateTime.jpg
url: img/blog/SQLDateTime.jpg
origin: Copilot Designer
tags: ["SQL","Software Development"]
---
Expand All @@ -20,3 +20,6 @@ tags: ["SQL","Software Development"]
or

`CONVERT(varchar, GETDATE(), 112) + CONVERT(VARCHAR, DATEPART(hh, GetDate())) + CONVERT(VARCHAR, DATEPART(mi, GetDate()))`


More information about DateTime: https://learn.microsoft.com/en-us/sql/t-sql/functions/date-and-time-data-types-and-functions-transact-sql?view=sql-server-ver16
3 changes: 3 additions & 0 deletions frontmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
{
"title": "projects_en",
"path": "[[workspace]]/content/en/projects"
},
{
"path": "[[workspace]]/content/en"
}
],
"frontMatter.git.enabled": true
Expand Down
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@

<div class="mx-auto">
<a class="navbar-brand" href="/" aria-label="Home">
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30" width="30"></a>
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30"></a>
</div>


Expand Down
6 changes: 3 additions & 3 deletions public/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

<div class="mx-auto">
<a class="navbar-brand" href="/" aria-label="Home">
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30" width="30"></a>
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30"></a>
</div>


Expand Down Expand Up @@ -584,12 +584,12 @@ <h5 class="offcanvas-title" id="offcanvas-label"></h5>


<div class="text-center"><img class="img-fluid img-fluid w-50"
src="/img/logo/doit.svg"
src="/img/logo/doitLogo.svg"



height="500"
width="500"

>
</div>

Expand Down
2 changes: 1 addition & 1 deletion public/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

<div class="mx-auto">
<a class="navbar-brand" href="/" aria-label="Home">
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30" width="30"></a>
<img src="/img/logo/doitLogo.svg" alt="d.o.it logo" height="30"></a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion public/blog/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<link>http://localhost:1313/blog/2024-05-17-ms-sql-date-format/</link>
<pubDate>Fri, 17 May 2024 10:54:33 +0000</pubDate>
<guid>http://localhost:1313/blog/2024-05-17-ms-sql-date-format/</guid>
<description>Date without time&#xA;CONVERT(varchar, GETDATE(), 112)&#xA;Date with time&#xA;CONVERT(varchar, GETDATE(), 112) + CONVERT(varchar, GETDATE(), 108)&#xA;or&#xA;CONVERT(varchar, GETDATE(), 112) + CONVERT(VARCHAR, DATEPART(hh, GetDate())) + CONVERT(VARCHAR, DATEPART(mi, GetDate()))</description>
<description>Date without time&#xA;CONVERT(varchar, GETDATE(), 112)&#xA;Date with time&#xA;CONVERT(varchar, GETDATE(), 112) + CONVERT(varchar, GETDATE(), 108)&#xA;or&#xA;CONVERT(varchar, GETDATE(), 112) + CONVERT(VARCHAR, DATEPART(hh, GetDate())) + CONVERT(VARCHAR, DATEPART(mi, GetDate()))&#xA;More information about DateTime: https://learn.microsoft.com/en-us/sql/t-sql/functions/date-and-time-data-types-and-functions-transact-sql?view=sql-server-ver16</description>
</item>
<item>
<title>Unblock all files in folder with PowerShell</title>
Expand Down
Loading

0 comments on commit 6ec185b

Please sign in to comment.