diff --git a/README.md b/README.md index 0fd025e03..52688bdee 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ To run the site locally: 3. From the repo directory, run: ```sh npm install - npm run dev + npm start ``` 4. Open http://localhost:8080 diff --git a/config/filters/render.js b/config/filters/render.js index 7fb346930..11ce56703 100644 --- a/config/filters/render.js +++ b/config/filters/render.js @@ -1,6 +1,6 @@ const MarkdownIt = require("markdown-it"); module.exports = async (content) => { - const md = new MarkdownIt(); + const md = new MarkdownIt({ html: true }); return md.render(content); }; diff --git a/pages/travel-and-leave/travel-guide-table-of-contents.md b/pages/travel-and-leave/travel-guide-table-of-contents.md index 3e427e870..81ab66686 100644 --- a/pages/travel-and-leave/travel-guide-table-of-contents.md +++ b/pages/travel-and-leave/travel-guide-table-of-contents.md @@ -13,9 +13,7 @@ sidebar: {% capture travel_content %} - {% renderTemplate 'liquid' %} - On July 13, 2021, GSA published updated travel guidance for all employees. - {% endrenderTemplate %} + On July 13, 2021, GSA published [updated travel guidance]({% page "/july-13-travel-guidance/" %}) for all employees. {% endcapture %} {% include "alert.html" level:"info" heading:"Updated Travel Guidance for GSA Employees (07/13/2021)" content:travel_content %}