Ilk zengin formatli makale eklendi
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
0
.hugo_build.lock
Normal file
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
+++
|
||||
25
content/posts/devops-mimarimiz.md
Normal file
25
content/posts/devops-mimarimiz.md
Normal 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
4
hugo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
baseURL = 'https://example.org/'
|
||||
locale = 'en-us'
|
||||
title = 'My New Hugo Project'
|
||||
theme = "PaperMod"
|
||||
1
themes/PaperMod
Submodule
1
themes/PaperMod
Submodule
Submodule themes/PaperMod added at 10d3dcc0e0
Reference in New Issue
Block a user