Skip to content

Commit

Permalink
tests html extension
Browse files Browse the repository at this point in the history
  • Loading branch information
edelstone committed Sep 22, 2024
1 parent eea4097 commit ebc4267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const TurndownService = require('turndown');
const turndownService = new TurndownService({ headingStyle: 'atx', bulletListMarker: '-'})

// Paths to the source and destination files
const aboutPath = path.join(__dirname, 'src', 'about.njk');
const aboutPath = path.join(__dirname, 'src', 'about.html');
const readmePath = path.join(__dirname, 'README.md');

// Read the content of the about.njk file
Expand Down
2 changes: 1 addition & 1 deletion src/about.njk → src/about.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: layouts/base
title: About
permalink: /about.html
permalink: /about/
docs: true
---

Expand Down

0 comments on commit ebc4267

Please sign in to comment.