Skip to content

Lifailon/lifailon.github.io

Repository files navigation

Web version for PowerShell Commands

👉 Статья на Хабр: Создание статических сайтов из Markdown без HTML

Branch Engine
main Markdown sources for building
✔️ zola-duckquill Zola and Duckquill theme
mkdocs-material MkDocs and Material theme
hugo-dark Hugo and Dark Theme Editor
docsify Docsify with no build
mdbook mdBook based on Rust
jekyll-now Jekyll and Jekyll Now
pandoc-solarized Pandoc and Solarized Dark theme

Build for Zola

Build

# Clone this repository and duckquill theme
git clone https://github.com./Lifailon/lifailon.github.io
Set-Location lifailon.github.io
git clone https://codeberg.org/daudix/duckquill.git themes/duckquill

# Download Zola
Invoke-RestMethod "https://github.com./getzola/zola/releases/download/v0.19.2/zola-v0.19.2-x86_64-pc-windows-msvc.zip" -OutFile zola.zip
Expand-Archive -Path zola.zip && Remove-Item zola.zip

# Start server and build site
.\zola serve
.\zola build

# Copy files for public
Copy-Item public $env:TEMP -Recurse -Force
git switch zola-duckquill
Remove-Item * -Force -Recurse -Exclude .git
Move-Item $env:TEMP\public\* .\