Added Google analytics tracking to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1020 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
9ed11f4500
commit
e00b892bf6
2 changed files with 15 additions and 7 deletions
14
web/Makefile
14
web/Makefile
|
@ -1,6 +1,6 @@
|
|||
ALL := index.html README.html INSTALL.html examples.html pandoc1.html markdown2pdf1.html html2markdown1.html hsmarkdown1.html html2x.html
|
||||
PANDOC_PATH ?= $(dir $(shell which pandoc))
|
||||
MAKEPAGE = $(PANDOC_PATH)/pandoc -s -S -c pandoc.css -A footer.html
|
||||
MAKEPAGE = $(PANDOC_PATH)/pandoc -s -S -H css -A footer.html
|
||||
all : $(ALL)
|
||||
|
||||
.PHONY: clean
|
||||
|
@ -15,22 +15,22 @@ examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README demos
|
|||
do highlight -k monospace -u utf-8 --style emacs $$file > $$file.html; \
|
||||
done
|
||||
|
||||
index.html : index.txt
|
||||
index.html : index.txt css
|
||||
$(MAKEPAGE) --toc $< > $@
|
||||
|
||||
README.html : README
|
||||
README.html : README css
|
||||
$(MAKEPAGE) --toc $< > $@
|
||||
|
||||
INSTALL.html : INSTALL
|
||||
INSTALL.html : INSTALL css
|
||||
$(MAKEPAGE) --toc $< > $@
|
||||
|
||||
%.html : %.txt
|
||||
%.html : %.txt css
|
||||
$(MAKEPAGE) $< > $@
|
||||
|
||||
%1.html : %.1
|
||||
%1.html : %.1
|
||||
groff -man -T html $< > $@
|
||||
|
||||
%.html : %
|
||||
%.html : % css
|
||||
$(MAKEPAGE) $< > $@
|
||||
|
||||
upload :
|
||||
|
|
8
web/css
Normal file
8
web/css
Normal file
|
@ -0,0 +1,8 @@
|
|||
<link rel="stylesheet" type="text/css" href="pandoc.css" media="all" />
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-2234613-4";
|
||||
urchinTracker();
|
||||
</script>
|
||||
|
Loading…
Reference in a new issue