]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/commitdiff
Add search_tags.tmpl (CheetahTemplate)
authorOleg Broytman <phd@phdru.name>
Mon, 19 May 2014 21:04:02 +0000 (01:04 +0400)
committerOleg Broytman <phd@phdru.name>
Mon, 19 May 2014 21:09:31 +0000 (01:09 +0400)
.gitignore
Makefile [new file with mode: 0644]
search_tags.tmpl [new file with mode: 0644]
update

index bf5a5a294c9c81218ea3251a7c037ab4c6246f29..5a2bcec80db0e2b13938187b59521837d64a6bd2 100644 (file)
@@ -1,3 +1,4 @@
 /*.py[co]
 /parser.out
 /parsetab.py
 /*.py[co]
 /parser.out
 /parsetab.py
+/search_tags.py
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..d802c5a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+# Makefile.
+#
+# __author__ = "Oleg Broytman <phd@phdru.name>"
+# __copyright__ = "Copyright (C) 2014 PhiloSoft Design"
+
+%.py: %.tmpl
+       cheetah compile --nobackup $< && compyle $@
+
+search_tags.py: search_tags.tmpl
diff --git a/search_tags.tmpl b/search_tags.tmpl
new file mode 100644 (file)
index 0000000..3fbefaf
--- /dev/null
@@ -0,0 +1,25 @@
+#encoding koi8-r
+#implements respond
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+   "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. -->
+<head>
+<meta HTTP-Equiv="Content-Type" content="text/html">
+<title>$Title</title>
+<meta name="author" content="Oleg Broytman">
+<link rel="author" href="../../Russian/blog/" title="&copy; 2014 PhiloSoft Design">
+<meta name="copyright" content="&copy; 2014 PhiloSoft Design">
+<link rel="copyright" href="../../Russian/blog/" title="&copy; 2014 PhiloSoft Design">
+<link rev="made" href="mailto:phd@phdru.name">
+<meta name="generator" content="CheetahTemplate">
+<meta name="robots" content="index, follow">
+<link rel="stylesheet" type="text/css" media="screen" href="../../phd.css">
+<link rel="shortcut icon" href="../../favicon.ico">
+<meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
+</head>
+<body bgcolor="#CCCCCC" text="#000000"
+      link="#0000bb"  vlink="#551a8b" alink="#ff0000">
+$body
+</body>
+</html>#slurp
diff --git a/update b/update
index 9d996d81a2ac9d24abfe235dc88c7097d8abf1a9..38b6727647e250d7487f76527b40a94cb76d4478 100755 (executable)
--- a/update
+++ b/update
@@ -4,5 +4,8 @@ current="`git config --get remote.current.url`" &&
 
 git pull --ff-only current master && git push web &&
 
 
 git pull --ff-only current master && git push web &&
 
+# Copy search_tags.* with timestamp to avoid rebuilding
+rsync -ahP "$current"/search_tags.py "$current"/search_tags.tmpl . &&
+
 cd "$current" &&
 exec git pull origin
 cd "$current" &&
 exec git pull origin