From 21838797bc0e5751d3d77df2d9742b19ef35fbf3 Mon Sep 17 00:00:00 2001
From: Karl <kc0bfv@gmail.com>
Date: Fri, 12 Nov 2021 18:03:11 +0000
Subject: [PATCH] Fix errors, change to GH workflow
---
/dev/null | 50 -------------------------
exampleSite/content/rich-content.md | 9 ----
.github/workflows/build_github_pages.yml | 20 ++++++++++
3 files changed, 21 insertions(+), 58 deletions(-)
diff --git a/.github/workflows/build_github_pages.yml b/.github/workflows/build_github_pages.yml
new file mode 100644
index 0000000..404b5af
--- /dev/null
+++ b/.github/workflows/build_github_pages.yml
@@ -0,0 +1,20 @@
+name: Build GitHub Pages
+on:
+ push:
+ branches:
+ - main
+jobs:
+ build-github-pages:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install Hugo
+ run: sudo snap install hugo
+ - name: Checkout Repo
+ uses: actions/checkout@v2
+ - name: Build Pages
+ run: make
+ - name: Deploy
+ uses: JamesIves/github-pages-deploy-action@4.1.4
+ with:
+ branch: gh-pages
+ folder: exampleSite/public
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 2106805..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-language: generic
-install:
- - sudo snap install hugo
-
-script:
- - make
-
-deploy:
- provider: pages
- skip_cleanup: true
- github_token: $GITHUB_TOKEN
- keep_history: true
- local_dir: exampleSite/public
- on:
- branch: master
diff --git a/exampleSite/content/math-typesetting.mmark b/exampleSite/content/math-typesetting.mmark
deleted file mode 100644
index 5116af4..0000000
--- a/exampleSite/content/math-typesetting.mmark
+++ /dev/null
@@ -1,50 +0,0 @@
----
-author:
- name: Hugo Authors
-title: Math Typesetting
-date: 2019-03-08
-description: A brief guide to setup KaTeX
-buttonimage: "img/mathbutton.jpg"
-images: ["img/math01.jpg"]
-imagealt: "A binary text wall covering from the computer history museum."
-markup: mmark
-math: true
-weight: 6
----
-
-Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
-<!--more-->
-
-In this example we will be using [KaTeX](https://katex.org/)
-
-- Create a partial under `/layouts/partials/math.html`
-- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
-- Include the partial in your templates like so:
-
-```
-{{ if or .Params.math .Site.Params.math }}
-{{ partial "math.html" . }}
-{{ end }}
-```
-- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
-- To enable KaTex on a per page basis include the parameter `math: true` in content files.
-
-**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
-{{< math.inline >}}
-{{ if or .Page.Params.math .Site.Params.math }}
-<!-- KaTeX -->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.css" integrity="sha384-dbVIfZGuN1Yq7/1Ocstc1lUEm+AT+/rCkibIcC/OmWo5f0EA48Vf8CytHzGrSwbQ" crossorigin="anonymous">
-<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.js" integrity="sha384-2BKqo+exmr9su6dir+qCw08N2ZKRucY4PrGQPPWU1A7FtlCGjmEGFqXCv5nyM5Ij" crossorigin="anonymous"></script>
-<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
-{{ end }}
-{{</ math.inline >}}
-
-### Examples
-
-Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
-
-Block math:
-
-$$
- \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
-$$
diff --git a/exampleSite/content/rich-content.md b/exampleSite/content/rich-content.md
index 14d106b..f542aaa 100644
--- a/exampleSite/content/rich-content.md
+++ b/exampleSite/content/rich-content.md
@@ -17,13 +17,6 @@
<!--more-->
---
-## Instagram Simple Shortcode
-
-{{< instagram_simple BGvuInzyFAe hidecaption >}}
-
-
----
-
## YouTube Privacy Enhanced Shortcode
{{< youtube ZJthWmvUzzc >}}
@@ -33,7 +26,7 @@
## Twitter Simple Shortcode
-{{< twitter_simple 1085870671291310081 >}}
+{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
---
--
Gitblit v1.10.0