Added example to test out that it's working.
This commit is contained in:
parent
c2692aa3aa
commit
6c5dd43af4
29
example/.index.html
Normal file
29
example/.index.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Arr! @(pwd){/}</title>
|
||||
<meta name = "Content-type" http-equiv = "Content-Type" content = "text/html; charset=us-ascii">
|
||||
<meta name = "Keywords" content = "@(pwd){, }arr">
|
||||
<meta name = "Author" content = "Neil">
|
||||
<meta name = "Generator" content = "This pristine code lies unmarred by infantile editors!">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>
|
||||
Date: @(now)
|
||||
</p>
|
||||
<p>
|
||||
@(content)</p>
|
||||
<ul>
|
||||
@(files){<li>
|
||||
<img src = "@(fileicon)" alt = "[ @(filealt) ]"> This is the <a href = "@(filehref)">@(filename)</a>;
|
||||
desciption: @(filedesc)</li>
|
||||
}</ul>
|
||||
<p>
|
||||
From http://something/@(pwd){/} or / is @(root){/}.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
0
example/.index.html.d
Normal file
0
example/.index.html.d
Normal file
22
example/.newsfeed.rss
Normal file
22
example/.newsfeed.rss
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<!DOCTYPE rss>
|
||||
|
||||
<rss version = "2.0"><channel>
|
||||
<title>Arr</title>
|
||||
<description>Yaarrr, news from afar.</description>
|
||||
<language>en</language>
|
||||
<pubdate>@(now)</pubdate>
|
||||
<lastbuilddate>@(now)</lastbuilddate>
|
||||
|
||||
~
|
||||
<item>
|
||||
<title>@(title)</title>
|
||||
<link>@(pwd){/}@(newsname)</link>
|
||||
<description>
|
||||
@(news) </description>
|
||||
<author>Neil</author>
|
||||
<pubdate>@(date)</pubdate>
|
||||
</item>
|
||||
|
||||
~
|
||||
</channel></rss>
|
11
example/.sitemap.xml
Normal file
11
example/.sitemap.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<!DOCTYPE xml>
|
||||
|
||||
<urlset xmlns = "http://www.google.com/schemas/sitemap/0.84">
|
||||
~
|
||||
<url>
|
||||
<loc>http://something/@(pwd){/}</loc>
|
||||
<lastmod>@(now)</lastmod>
|
||||
</url>
|
||||
~
|
||||
</urlset>
|
1
example/a.d
Normal file
1
example/a.d
Normal file
@ -0,0 +1 @@
|
||||
This is a description of a.
|
1
example/a.txt
Normal file
1
example/a.txt
Normal file
@ -0,0 +1 @@
|
||||
This is a.txt
|
1
example/a.txt.d
Normal file
1
example/a.txt.d
Normal file
@ -0,0 +1 @@
|
||||
This is a description of a.txt.
|
0
example/bar.d
Normal file
0
example/bar.d
Normal file
1
example/baz/link.link
Normal file
1
example/baz/link.link
Normal file
@ -0,0 +1 @@
|
||||
https://w3.org/
|
1
example/baz/link.link.d
Normal file
1
example/baz/link.link.d
Normal file
@ -0,0 +1 @@
|
||||
This is an external link.
|
1
example/baz/news
Normal file
1
example/baz/news
Normal file
@ -0,0 +1 @@
|
||||
OhNozzz!!11
|
2
example/baz/news.news
Normal file
2
example/baz/news.news
Normal file
@ -0,0 +1,2 @@
|
||||
2012-12-21
|
||||
World Ends
|
1
example/content.d
Normal file
1
example/content.d
Normal file
@ -0,0 +1 @@
|
||||
This is content.d, overwriting index.d. The index.d appears in the links to this page, however.
|
BIN
example/dir.jpeg
Normal file
BIN
example/dir.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 552 B |
3
example/dir.jpeg.d
Normal file
3
example/dir.jpeg.d
Normal file
@ -0,0 +1,3 @@
|
||||
This is a hard-coded file named dir.jpeg that's recognised by @(fileicon)
|
||||
with a directory. Also, this file has a custom icon dir.jpeg.d.jpeg;
|
||||
<*.d.jpeg> makes it so.
|
BIN
example/dir.jpeg.d.jpeg
Normal file
BIN
example/dir.jpeg.d.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 552 B |
BIN
example/file.jpeg
Normal file
BIN
example/file.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 707 B |
1
example/file.jpeg.d
Normal file
1
example/file.jpeg.d
Normal file
@ -0,0 +1 @@
|
||||
This is the hard-coded file icon, file.jpeg.
|
Loading…
Reference in New Issue
Block a user