Explorar el Código

More relative URLs please.

Brit Butler hace 13 años
padre
commit
3ca3db13cc
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 1 2
      src/indices.lisp
  2. 1 1
      themes/hyde/base.tmpl

+ 1 - 2
src/indices.lisp

@@ -33,8 +33,7 @@
33 33
 (defun write-index (posts filename title &optional prev next)
34 34
   "Write out the HTML for POSTS to FILENAME.html."
35 35
   (let ((content (loop for post in posts
36
-                    collect (list :url (format nil "~a/posts/~a.html"
37
-                                               (domain *config*) (post-slug post))
36
+                    collect (list :url (format nil "posts/~a.html" (post-slug post))
38 37
                                   :title (post-title post)
39 38
                                   :date (post-date post)
40 39
                                   :content (render-content (post-content post)

+ 1 - 1
themes/hyde/base.tmpl

@@ -8,7 +8,7 @@
8 8
     <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
9 9
     <link href="http://fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
10 10
     <link href="http://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
11
-    <link href= "{$siteroot}/css/style.css" rel="stylesheet" type="text/css" />
11
+    <link href= "css/style.css" rel="stylesheet" type="text/css" />
12 12
     <link rel="alternate" href="{$siteroot}/feed.atom" type="application/atom+xml" />
13 13
     {if $headInject} {$headInject |noAutoescape} {/if}
14 14
   </head>