Skip to content

Commit 8b42ca7

Browse files
RihojCopilot
andauthored
feat: Add Hugo AWS Complete Guide series and PlantUML extension (#203)
* feat: Add Hugo AWS Complete Guide series and PlantUML extension Major content additions: - Add complete 5-part Hugo on AWS guide series with weekly publishing schedule - Add Hugo PlantUML extension post with local rendering capabilities - Implement PlantUML shortcode with automatic SVG generation and caching Infrastructure improvements: - Update GitHub Actions workflow to deploy on Mondays at 9 AM MT - Add development configuration for local testing - Reorganize assets structure (sass -> styles) - Add custom head partial for additional functionality - Implement includecode shortcode for syntax-highlighted code inclusion Technical enhancements: - Add PlantUML processing scripts with automatic diagram generation - Generate static SVG diagrams for improved performance - Update dependencies and build configuration - Improve gitignore for development artifacts Content schedule: - Aug 11: Hugo PlantUML Extension - Aug 18: AWS Guide Overview + Part 1 (CI/CD) - Aug 25: Part 2 (Infrastructure) - Sep 1: Part 3 (Security/WAF) - Sep 8: Part 4 (Monitoring) * Update layouts/shortcodes/includecode.html Co-authored-by: Copilot <[email protected]> * Update package.json Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent fa95888 commit 8b42ca7

File tree

30 files changed

+3557
-185
lines changed

30 files changed

+3557
-185
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
22
updates:
3-
# Update the git submodules
4-
- package-ecosystem: "gitsubmodule"
3+
# Update npm dependencies
4+
- package-ecosystem: "npm"
55
directory: "/"
66
schedule:
7-
interval: "daily"
7+
interval: "weekly"
88
labels:
99
- "dependencies"
1010
- "automerge"

.github/workflows/hugo.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permissions:
44
contents: read # This is required for actions/checkout@v2
55
on:
66
schedule:
7-
- cron: '0 16 * * 6'
7+
- cron: '0 15 * * 1' # Mondays at 3:00 PM UTC (9:00 AM MT) - 1 hour after publish time
88
push:
99
branches:
1010
- main # Set a branch to deploy
@@ -18,10 +18,7 @@ jobs:
1818
group: ${{ github.workflow }}-${{ github.ref }}
1919
steps:
2020
- name: checkout
21-
uses: actions/checkout@v2
22-
with:
23-
submodules: true # Fetch Hugo themes (true OR recursive)
24-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
21+
uses: actions/checkout@v4
2522
- name: Configure AWS Credentials
2623
uses: aws-actions/configure-aws-credentials@v1
2724
with:

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
resources/_gen/*
22
public/*
33
blog.ideas
4+
5+
# PlantUML temp files
6+
temp/plantuml/
7+
# PlantUML JAR (downloaded automatically)
8+
bin/plantuml.jar
9+
10+
temp/*

assets/sass/cards.scss

Lines changed: 0 additions & 15 deletions
This file was deleted.

assets/sass/style.scss

Lines changed: 0 additions & 124 deletions
This file was deleted.

assets/styles/override.scss

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// Include code shortcode styling
2+
.includecode {
3+
margin: 1.5rem 0;
4+
border: 1px solid #ddd;
5+
border-radius: 6px;
6+
overflow: hidden;
7+
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
8+
9+
.includecode-header {
10+
background: linear-gradient(135deg, #f6f8fa 0%, #e9ecef 100%);
11+
padding: 12px 20px;
12+
border-bottom: 1px solid #ddd;
13+
display: flex;
14+
justify-content: space-between;
15+
align-items: center;
16+
font-size: 0.875rem;
17+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
18+
19+
.includecode-title {
20+
&::before {
21+
content: "📄";
22+
margin-right: 8px;
23+
font-size: 1rem;
24+
}
25+
26+
font-weight: 600;
27+
color: #24292e;
28+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Roboto Mono", monospace;
29+
font-size: 0.9rem;
30+
display: flex;
31+
align-items: center;
32+
}
33+
34+
.includecode-lines {
35+
color: #586069;
36+
font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Roboto Mono", monospace;
37+
font-size: 0.8rem;
38+
background: rgba(255, 255, 255, 0.7);
39+
padding: 2px 8px;
40+
border-radius: 12px;
41+
border: 1px solid rgba(27, 31, 36, 0.1);
42+
}
43+
}
44+
45+
pre {
46+
margin: 0 !important;
47+
border-radius: 0 !important;
48+
border: none !important;
49+
}
50+
51+
// Dark mode support
52+
@media (prefers-color-scheme: dark) {
53+
border-color: #30363d;
54+
55+
.includecode-header {
56+
background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
57+
border-bottom-color: #30363d;
58+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
59+
60+
.includecode-title {
61+
color: #f0f6fc;
62+
}
63+
64+
.includecode-lines {
65+
color: #8b949e;
66+
background: rgba(255, 255, 255, 0.05);
67+
border-color: rgba(240, 246, 252, 0.1);
68+
}
69+
}
70+
}
71+
}
72+
73+
// Error state styling for includecode
74+
.includecode-error {
75+
padding: 1rem;
76+
background: #ffeaea;
77+
border: 1px solid #ff6b6b;
78+
border-radius: 4px;
79+
80+
pre {
81+
color: #d63384;
82+
background: transparent;
83+
border: none;
84+
margin: 0;
85+
padding: 0;
86+
}
87+
}
88+
89+
// PlantUML diagram responsive styling
90+
.plantuml-diagram {
91+
text-align: center;
92+
margin: 2rem 0;
93+
94+
svg {
95+
max-width: 100%;
96+
height: auto;
97+
}
98+
}

0 commit comments

Comments
 (0)