Sometimes you may need to redirect to another site your project. First, add a redirect.html file to the _layout directory. Something like this:

<!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="{{ page.redirect_to }}"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url=" />
</head>
<body>
	  <script>location='{{ page.redirect_to }}'</script>
</body>
</html>

Create a page in markdown in your Jekyll project where the redirect is needed. If, for example, you want to add a page that redirects to a post in Minima, make sure that the title tag exists as this is what the home.html file in _layout directory looks for. Otherwise, if using the redirect somewhere else modify as needed to work with other parts of your project.

---
layout: redirect
title: TITLE
sitemap: false
permalink: /TITLE/
redirect_to:  /somewhereElseInJekyllProject/TITLE.html
---

When modifying the basic elements of your Jekyll theme, keep good notes or write a post on how you did it for later when you have forgotten!

Also, you can show Markdown examples by surrounding examples with the raw and endraw tags.

{% raw %} {% endraw %}

Of course, if you want to show an example of how to show example markdown you’ll need to escape the escape tags . . .

Further Reading:
https://superdevresources.com/redirects-jekyll-github-pages/
https://stackoverflow.com/questions/47106191/how-to-display-raw-and-endraw-using-markdown