Fix disqus links

This commit is contained in:
Dave Gallant
2021-09-05 23:54:56 -04:00
parent 51189de047
commit 75f9797c91
7 changed files with 8 additions and 50 deletions

4
.gitmodules vendored
View File

@@ -1,4 +0,0 @@
[submodule "public"]
path = public
url = git@github.com:davegallant/davegallant.github.io.git
branch = main

View File

@@ -2,10 +2,10 @@
Source for https://davegallant.github.io.
## Deploy
## Run locally
Requires hugo.
```shell
make deploy
make server
```

View File

@@ -17,7 +17,7 @@ As of right now, the latest AUR is `4.2.2-1`.
These steps highlight how to get it working with `Python3.8` by making a 1 line modification to AppGate source code.
# Package
# Packaging
We already know the community package is out of date, so let's clone it:
@@ -75,7 +75,7 @@ Now, let's install it:
makepkg -si
```
# Run
# Running the client
Ok, let's run the client by executing `appgate`.
@@ -89,7 +89,7 @@ sudo systemctl start appgatedriver.service
Now we should be connected... but DNS is not working?
# Fix DNS
# Fixing the DNS
Running `resolvectl` should display that something is not right.
@@ -147,7 +147,7 @@ Aha! So this is in the local AppGate source code. This should be an easy fix. Le
if True: # Since we are not using Fedora :)
```
# Conclusion
# Wrapping up
It turns out there are [breaking changes](https://docs.python.org/3.7/library/platform.html#platform.linux_distribution) in Python3.8.

1
public

Submodule public deleted from f51840a468

View File

@@ -1,37 +0,0 @@
baseurl = "/"
languageCode = "en-us"
title = "A minimal Hugo website"
theme = "hugo-xmin"
googleAnalytics = ""
disqusShortname = ""
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
footnotereturnlinkcontents = "↩"
[permalinks]
post = "/post/:year/:month/:day/:slug/"
note = "/note/:year/:month/:day/:slug/"
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "About"
url = "/about/"
weight = 2
[[menu.main]]
name = "Categories"
url = "/categories/"
weight = 3
[[menu.main]]
name = "Tags"
url = "/tags/"
weight = 4
[[menu.main]]
name = "Subscribe"
url = "/index.xml"
[params]
description = "A website built through Hugo and blogdown."
footer = "© [Yihui Xie](https://yihui.name) 2017 -- 2018 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"

View File

@@ -10,7 +10,7 @@
{{ range (where .Data.Pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>

View File

@@ -1 +1 @@
{{ if eq .Section "posts" }} {{ template "_internal/disqus.html" . }} {{ end }}
{{ if eq .Section "post" }} {{ template "_internal/disqus.html" . }} {{ end }}