Explorar o código

add another feed

Pi %!s(int64=2) %!d(string=hai) anos
pai
achega
3d0686fd8b
Modificáronse 2 ficheiros con 6 adicións e 3 borrados
  1. 6 0
      index.html
  2. 0 3
      nginx.conf

+ 6 - 0
index.html

@@ -98,6 +98,12 @@
 			<p>Notable events but not weather or sports</p>
 		</div>
 	</li>
+	<li onclick="location.href='https://shandan.one/feed/discovery/rss.html';" style="color: orange;">
+		<div>
+			<h1>Discovery Feed</h1>
+			<p>Cool and inspirational articles</p>
+		</div>
+	</li>
 </ul>
 </body>
 </html>

+ 0 - 3
nginx.conf

@@ -8,8 +8,5 @@ http {
     location /feed/ {
       autoindex on;
     }
-    location /feed/news/ {
-      autoindex on;
-    }
   }
 }