This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
777e1be
commit a5e7697
Showing
7 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
TPAGE=tpage | ||
RM=rm -f | ||
|
||
PRES=$(patsubst pres/%.tt2,%.html,$(wildcard pres/*.tt2)) | ||
|
||
all: $(PRES) | ||
|
||
%.html: pres/%.tt2 | ||
$(TPAGE) $< > $@ | ||
|
||
clean: | ||
$(RM) $(PRES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[% INCLUDE tmpl/header.tt2 title = "Presentation 1" author = "Andreas Krennmair" date = "April 28, 2012" %] | ||
[% INCLUDE slides/foo.tt2 %] | ||
[% INCLUDE slides/bar.tt2 %] | ||
[% INCLUDE slides/baz.tt2 %] | ||
[% INCLUDE tmpl/footer.tt2 %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<article> | ||
<h3>Bar</h3> | ||
<p>Lorem ipsum dolor sit amet...</p> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<article> | ||
<h3>Code</h3> | ||
<p>Some code:</p> | ||
<pre> | ||
package main | ||
|
||
import "fmt" | ||
|
||
func main() { | ||
fmt.Println("Hello, 世界") | ||
} | ||
</pre> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<article> | ||
<h3>Foo</h3> | ||
<ul> | ||
<li>foo</li> | ||
<li>bar</li> | ||
<li>baz</li> | ||
</ul> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>[% title %] | [% author %]</title> | ||
<meta charset="utf-8"> | ||
<script src="js/slides.js"></script> | ||
<body style="display: none"> | ||
<section class="slides layout-regular template-default"> | ||
<article> | ||
<h1>[% title %]</h1> | ||
<p> | ||
[% author %] | ||
<br> | ||
[% date %] | ||
</p> | ||
</article> |