Restructure Hugo module; add root go.mod

This commit is contained in:
√(noham)² committed 2026-02-01 15:28:11 +01:00
1 parent 58c9dea2c7
commit 85e8e09249
6 files changed
+12 -4

No files matched your search

+9 -1
View File
@@ -12,6 +12,14 @@ A Hugo shortcode for displaying assembly code blocks with syntax highlighting, h
- **Capitalization option** for hex bytes and addresses - **Capitalization option** for hex bytes and addresses
- **Dark/light mode** compatible - **Dark/light mode** compatible
## Module Structure
This project is structured as a Hugo module with the following components:
- `layouts/shortcodes/asm.html` - The shortcode template
- `assets/css/extended/asm.css` - Styling for assembly code blocks
- `hugo.toml` - Module mount configuration
- `go.mod` - Go module definition
## Installation ## Installation
### As a Hugo Module ### As a Hugo Module
@@ -26,7 +34,7 @@ Add to your `hugo.toml`:
### Manual Installation ### Manual Installation
Copy the contents of `module/` to your Hugo site: Copy the following files to your Hugo site:
- `layouts/shortcodes/asm.html` → your site's `layouts/shortcodes/` - `layouts/shortcodes/asm.html` → your site's `layouts/shortcodes/`
- `assets/css/extended/asm.css` → your site's `assets/css/extended/` - `assets/css/extended/asm.css` → your site's `assets/css/extended/`
File renamed without changes.
+3
View File
@@ -0,0 +1,3 @@
module github.com/NohamR/hugo-asm-shortcode
go 1.21
View File
File renamed without changes.
File renamed without changes.
-3
View File
@@ -1,3 +0,0 @@
module hugo-asm-shortcode
go 1.21