Skip to content

Commit b4fdbda

Browse files
NIFI-15423 Refactored templates for Hugo 0.152.4
- Added cascade layout configuration for components directory - Replaced apt-get install hugo with actions-hugo
1 parent 10edff9 commit b4fdbda

27 files changed

+8
-33
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
ref: asf-site
3232
path: ${{ env.PUBLISH_DIRECTORY }}
3333
- name: Install Hugo
34-
run: |
35-
sudo apt-get update
36-
sudo apt-get install hugo
34+
uses: peaceiris/actions-hugo@v3
35+
with:
36+
hugo-version: '0.154.2'
3737
- name: Prepare
3838
working-directory: ${{ env.PUBLISH_DIRECTORY }}
3939
run: |

config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ apacheFoundationPeopleNameUrl = "https://projects.apache.org/json/foundation/peo
3737
dynamicDownloadPathUrl = "https://www.apache.org/dyn/closer.lua?path=/nifi"
3838
downloadPathUrl = "https://downloads.apache.org/nifi"
3939
archiveDownloadPathUrl = "https://archive.apache.org/dist/nifi"
40-
mavenCentralDownloadPathUrl = "https://repo1.maven.org/maven2/org/apache/nifi"
4140

4241
currentProjectVersion = "2.7.2"
4342
currentProjectVersionReleased = "2025-12-17"

content/components/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Component Documentation"
3+
cascade:
4+
layout: "component-documentation"
5+
---
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)