George S. Baugh hace 5 años
padre
commit
ecfa169925
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      Makefile
  2. 1 1
      lib/Trog/Routes/HTML.pm

+ 1 - 0
Makefile

@@ -2,6 +2,7 @@
 install:
 	test -d $(HOME)/.tcms || mkdir $(HOME)/.tcms
 	test -d www/themes || mkdir www/themes
+	test -d data/files || mkdir data/files
 	rm pod2htmd.tmp; /bin/true
 
 .PHONY: test

+ 1 - 1
lib/Trog/Routes/HTML.pm

@@ -705,7 +705,7 @@ sub posts ($query, $render_cb) {
 
     my $styles = _build_themed_styles('posts.css');
 
-    $query->{title} = @$tags ? "$query->{domain} : @$tags" : undef;
+    $query->{title} = @$tags && $query->{domain} ? "$query->{domain} : @$tags" : undef;
     my $limit = int($query->{limit} || 25);
 
     my $content = $processor->render('posts.tx', {