mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
Fix disqus links
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,4 +0,0 @@
|
|||||||
[submodule "public"]
|
|
||||||
path = public
|
|
||||||
url = git@github.com:davegallant/davegallant.github.io.git
|
|
||||||
branch = main
|
|
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
Source for https://davegallant.github.io.
|
Source for https://davegallant.github.io.
|
||||||
|
|
||||||
## Deploy
|
## Run locally
|
||||||
|
|
||||||
Requires hugo.
|
Requires hugo.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
make deploy
|
make server
|
||||||
```
|
```
|
||||||
|
@@ -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.
|
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:
|
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
|
makepkg -si
|
||||||
```
|
```
|
||||||
|
|
||||||
# Run
|
# Running the client
|
||||||
|
|
||||||
Ok, let's run the client by executing `appgate`.
|
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?
|
Now we should be connected... but DNS is not working?
|
||||||
|
|
||||||
# Fix DNS
|
# Fixing the DNS
|
||||||
|
|
||||||
Running `resolvectl` should display that something is not right.
|
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 :)
|
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.
|
It turns out there are [breaking changes](https://docs.python.org/3.7/library/platform.html#platform.linux_distribution) in Python3.8.
|
||||||
|
|
||||||
|
1
public
1
public
Submodule public deleted from f51840a468
@@ -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)"
|
|
@@ -10,7 +10,7 @@
|
|||||||
{{ range (where .Data.Pages "Section" "!=" "") }}
|
{{ range (where .Data.Pages "Section" "!=" "") }}
|
||||||
<li>
|
<li>
|
||||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
@@ -1 +1 @@
|
|||||||
{{ if eq .Section "posts" }} {{ template "_internal/disqus.html" . }} {{ end }}
|
{{ if eq .Section "post" }} {{ template "_internal/disqus.html" . }} {{ end }}
|
||||||
|
Reference in New Issue
Block a user