Ilk zengin formatli makale eklendi

This commit is contained in:
2026-03-31 02:21:55 +03:00
commit 51dcc1de27
6 changed files with 38 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git

0
.hugo_build.lock Normal file
View File

5
archetypes/default.md Normal file
View File

@@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

View File

@@ -0,0 +1,25 @@
---
title: "İlk DevOps Makalem: Markdown ve Hugo'nun Gücü"
date: 2026-03-31T10:00:00+03:00
draft: false
tags: ["DevOps", "Hugo", "Markdown", "PowerShell"]
categories: ["IT Altyapısı"]
---
Selamlar! Bu makale, Hetzner üzerindeki **Docker + Gitea + Hugo** mimarimizin ilk canlı testidir. Veritabanı kullanmadığımız için sitemiz ışık hızında açılıyor. Aşağıda Markdown'ın bize sunduğu harika formatlama yeteneklerini görebilirsiniz.
## 1. Kod Blokları (Syntax Highlighting)
İşte IT otomasyonları için yazdığım bir PowerShell betiği örneği. Otomatik renklendirmeye dikkat edin:
```powershell
# Windows'ta ortam değişkeni ayarlama betiği
$yeniYol = "C:\Hugo\bin"
$mevcutYol = [Environment]::GetEnvironmentVariable("Path", "User")
if ($mevcutYol -notlike "*$yeniYol*") {
[Environment]::SetEnvironmentVariable("Path", "$mevcutYol;$yeniYol", "User")
Write-Host "Hugo başarıyla sisteme eklendi!" -ForegroundColor Green
} else {
Write-Warning "Bu yol zaten ekli."
}

4
hugo.toml Normal file
View File

@@ -0,0 +1,4 @@
baseURL = 'https://example.org/'
locale = 'en-us'
title = 'My New Hugo Project'
theme = "PaperMod"

1
themes/PaperMod Submodule

Submodule themes/PaperMod added at 10d3dcc0e0