encrypt hace 9 años
padre
commit
bf7bd9be44
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      boh

+ 2 - 2
boh

@@ -15,7 +15,7 @@ boh_help() {
 
 boh_new() {
     mkdir _site _assets _layouts
-    cat <<EOF > _layouts/page.tpl
+    cat <<EOF > _layouts/page.html
 <!doctype html>
 <html lang="en">
   <head>
@@ -79,7 +79,7 @@ boh_build() {
 	fi
 	mkdir -p "${newpath%/*}"
 	export title body
-	envsubst < "$layouts_dir/$layout.tpl" > "$newpath"
+	envsubst < "$layouts_dir/$layout.html" > "$newpath"
 	unset title body
     done
     type boh_post_build &> /dev/null && { boh_post_build; }