Browse Source

Force Plume RSS feed instead of hugo generated RSS

pull/20/head
KemoNine 5 months ago
parent
commit
cea4ebb8df
Signed by: KemoNine <kemonine@lollipopcloud.solutions> GPG Key ID: 9D79FBF661EC6779

+ 4
- 3
config.toml View File

@@ -3,6 +3,7 @@
3 3
 title = "Lollipop Cloud"
4 4
 
5 5
 baseURL = "https://lollipopcloud.solutions"
6
+RSSLink = "https://ap.blog.lollipopcloud.solutions/@/cloud/atom.xml"
6 7
 languageCode = "en-us"
7 8
 theme = "beautifulhugo"
8 9
 disableHugoGeneratorInject = true
@@ -28,12 +29,12 @@ copyright = "CC By-NC-SA 4.0"
28 29
   favicon = "img/favicon.ico"
29 30
   dateFormat = "2006/01/02"
30 31
   commit = "https://git.lollipopcloud.solutions/lollipop-cloud/website/src/commit/"
31
-  rss = true
32
+  rss = false
32 33
   comments = false
33 34
   readingTime = true
34 35
   useHLJS = true
35 36
   socialShare = false
36
-  
37
+
37 38
 [Params.fathom]
38 39
   server = "web.fathom.lollipopcloud.solutions"
39 40
 
@@ -52,7 +53,7 @@ copyright = "CC By-NC-SA 4.0"
52 53
     url = "page/what-is-lollipop-cloud"
53 54
   [[menu.main]]
54 55
     name = "Blog"
55
-    url = "/post/"
56
+    url = "https://ap.blog.lollipopcloud.solutions"
56 57
   [[menu.main]]
57 58
     name = "Contact"
58 59
     url = "page/contact"

+ 1
- 7
themes/beautifulhugo/layouts/partials/footer.html View File

@@ -15,20 +15,14 @@
15 15
               </li>
16 16
             {{- end -}}
17 17
           {{ end }}
18
-          {{ if .Site.Params.rss }}
19 18
           <li>
20
-            {{ if .RSSLink }}
21
-            <a href="{{ .RSSLink }}" title="RSS">
22
-            {{ else }}
23
-            <a href="{{ .Site.RSSLink }}" title="RSS">
24
-            {{ end }}
19
+            <a href="https://ap.blog.lollipopcloud.solutions/@/cloud/atom.xml" title="RSS">
25 20
               <span class="fa-stack fa-lg">
26 21
                 <i class="fa fa-circle fa-stack-2x"></i>
27 22
                 <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
28 23
               </span>
29 24
             </a>
30 25
           </li>
31
-          {{ end }}
32 26
         </ul>
33 27
 
34 28
         {{ if or (.Params.nosigs) (eq $.File.Path "")}}

+ 1
- 5
themes/beautifulhugo/layouts/partials/head.html View File

@@ -37,11 +37,7 @@
37 37
   {{ .Hugo.Generator -}}
38 38
 <!-- Links and stylesheets -->
39 39
   <link rel="canonical" href="{{ .URL | absLangURL }}" />
40
-  {{- if .RSSLink }}
41
-  <link rel="alternate" href="{{ .RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}">
42
-  {{- else }}
43
-  <link rel="alternate" href="{{ .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}">
44
-  {{- end }}
40
+  <link rel="alternate" href="https://ap.blog.lollipopcloud.solutions/@/cloud/atom.xml" type="application/rss+xml" title="{{ .Site.Title }}">
45 41
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
46 42
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.0/css/fork-awesome.min.css" integrity="sha256-sX8HLspqYoXVPetzJRE4wPhIhDBu2NB0kYpufzkQSms=" crossorigin="anonymous">
47 43
   <link rel="stylesheet" href="/css/icomoon.css">

Loading…
Cancel
Save