Browse files

rename tpl/ to template/

As discussed in #227.
  • Loading branch information...
1 parent 915be7c commit 2edc58581861bb9fe8649e3305dfecc04e7e5a13 @agarwal agarwal committed Nov 11, 2013
View
2 .gitignore
@@ -19,5 +19,5 @@ ocaml.org/
ocamltohtml
rss2html
relative_urls
-tpl/front_code_snippet.html
+template/front_code_snippet.html
.DS_Store
View
10 Makefile.common
@@ -22,12 +22,12 @@ ocamltohtml:lexer.ml ocamltohtml.ml
ocamlopt -o $@ lexer.ml ocamltohtml.ml
$(RM) ocamltohtml.o ocamltohtml.cm[ix] lexer.o lexer.cm[ix]
-tpl/front_code_snippet.html:tpl/front_code_snippet.md
+template/front_code_snippet.html:template/front_code_snippet.md
${OMD} $< -o $@
clean:
$(RM) -r ocaml.org *~ *.cmo *.cmi *.cma *.o
- $(RM) tpl/front_code_snippet.html
+ $(RM) template/front_code_snippet.html
$(RM) $(addprefix app/, *~ *.cmo *.cmi *.cma *.o)
preview: relative_urls
@@ -49,6 +49,6 @@ syncotherfiles:
ocaml.org/community/planet.html:rss2html
-ocaml.org/learn/index.html:tpl/front_code_snippet.html
-ocaml.org/index.html:tpl/front_code_snippet.html
-ocaml.org/index.html:tpl/front_code_snippet.html
+ocaml.org/learn/index.html:template/front_code_snippet.html
+ocaml.org/index.html:template/front_code_snippet.html
+ocaml.org/index.html:template/front_code_snippet.html
View
4 Makefile.from_md
@@ -7,9 +7,9 @@ ocaml.org/%.html:site/%.md
if grep -q '*Table of contents*' "$<" ; then $(MAKE) -f Makefile.from_md "$@.toc" ; fi
$(MAKE) -f Makefile.from_md "$@.tmp"
if [ -f "$@.toc" ] ; then \
- ${MPP} -set "filename=$<" -set "page=$@.tmp" -set "toc=$@.toc" tpl/main.mpp -o "$@" ; \
+ ${MPP} -set "filename=$<" -set "page=$@.tmp" -set "toc=$@.toc" template/main.mpp -o "$@" ; \
else \
- ${MPP} -set "filename=$<" -set "page=$@.tmp" tpl/main.mpp -o "$@" ; \
+ ${MPP} -set "filename=$<" -set "page=$@.tmp" template/main.mpp -o "$@" ; \
fi
$(RM) "$@.tmp"
$(RM) "$@.toc"
View
2 site/community/index.md
@@ -38,7 +38,7 @@
<section class="span4 condensed">
<h4>Recent email threads</h4>
<ul class="news-feed">
-((! input tpl/last_ml_topics.mpp !))
+((! input template/last_ml_topics.mpp !))
</ul>
<footer>
<p><a href="https://sympa.inria.fr/sympa/arc/caml-list/">See archives</a></p>
View
6 site/index.md
@@ -73,12 +73,12 @@
<div class="row">
<section class="span6 condensed">
<h1>A taste of OCaml</h1>
- ((! cat tpl/tryocaml.html !))
- ((! input tpl/front_code_snippet.html !))
+ ((! cat template/tryocaml.html !))
+ ((! input template/front_code_snippet.html !))
</section>
<section class="span6 condensed">
<h1>Packages</h1>
- ((! input tpl/front_package.mpp !))
+ ((! input template/front_package.mpp !))
</section>
</div>
</div>
View
2 site/learn/100-lines.html
@@ -33,7 +33,7 @@
</button>
<a class="brand" href="#"><img src="/img/ocaml.png" alt="OCaml"></a>
<div class="nav-collapse collapse">
- ((! input tpl/navbar.mpp !))
+ ((! input template/navbar.mpp !))
<form class="navbar-search pull-right">
<input class="search-query" type="text" placeholder="Search">
</form>
View
4 site/learn/index.md
@@ -23,8 +23,8 @@
<div class="row">
<section class="span4 condensed">
<h1 class="ruled">Code examples</h1>
- ((! cat tpl/tryocaml.html !))
- ((! input tpl/front_code_snippet.html !))
+ ((! cat template/tryocaml.html !))
+ ((! input template/front_code_snippet.html !))
<footer>
<p>See <a href="taste.html">a Hundred Lines of OCaml</a>,
<a href="http://pleac.sourceforge.net/pleac_ocaml/" >Pleac</a>,
View
2 site/platform/index.md
@@ -80,7 +80,7 @@
</section>
<section class="span8 condensed">
<h1>Packages</h1>
- ((! input tpl/front_package.mpp !))
+ ((! input template/front_package.mpp !))
</section>
</div>
</div>
View
2 tpl/core.mpp → template/core.mpp
@@ -12,7 +12,7 @@
x!}}
<div id="content-primary" class="span8">
-{{! cat tpl/tryocaml.html !}}
+{{! cat template/tryocaml.html !}}
<div id='main-contents' class="content">
{{! get contents !}}
</div>
View
0 tpl/front_code_snippet.md → template/front_code_snippet.md
File renamed without changes.
View
0 tpl/front_package.mpp → template/front_package.mpp
File renamed without changes.
View
0 tpl/last_ml_topics.mpp → template/last_ml_topics.mpp
File renamed without changes.
View
4 tpl/main.mpp → template/main.mpp
@@ -47,7 +47,7 @@
</button>
<a class="brand" href="/"><img src="/img/ocaml.png" alt="OCaml" /></a>
<div class="nav-collapse collapse">
- ((! input tpl/navbar.mpp !))
+ ((! input template/navbar.mpp !))
<form id="searchform" class="navbar-search pull-right" method="get" action="http://www.google.com/search">
<input value="site:http://ocaml.org/" name="q" type="hidden" />
<input placeholder="Search" class="search-query" name="q" type="text" />
@@ -57,7 +57,7 @@
</div>
</nav>
{{! ifdef core ((! get contents !)) !}}
- {{! else ((! input tpl/core.mpp !)) !}}
+ {{! else ((! input template/core.mpp !)) !}}
<footer id="footer" class="navbar navbar-inverse"
style="margin-top: 4ex; margin-bottom: 0" >
<div class="navbar-inner">
View
0 tpl/navbar.mpp → template/navbar.mpp
File renamed without changes.
View
0 tpl/tryocaml.html → template/tryocaml.html
File renamed without changes.

0 comments on commit 2edc585

Please sign in to comment.