File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
name = " LiveServer"
2
2
uuid = " 16fef848-5104-11e9-1b77-fb7a48bbb589"
3
3
authors = [" Jonas Asprion <jonas.asprion@gmx.ch" , " Thibaut Lienart <tlienart@me.com>" ]
4
- version = " 0.8.2 "
4
+ version = " 0.8.3 "
5
5
6
6
[deps ]
7
7
Crayons = " a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ function get_dir_list(dir::AbstractString)
130
130
io = IOBuffer ()
131
131
predir = ifelse (isempty (CONTENT_DIR[]), " " , " [$(append_slash (CONTENT_DIR[])) ]" )
132
132
sdir = predir * lstrip_cdir (dir)
133
-
133
+
134
134
write (io, """
135
135
<!DOCTYPE HTML>
136
136
<html>
@@ -147,13 +147,10 @@ function get_dir_list(dir::AbstractString)
147
147
<h1 style='margin-top: 1em;'>
148
148
Directory listing
149
149
</h1>
150
- <h2>
151
- <code style='color:gray;'>$(sdir) </code>
152
- <br>
153
- <a href="/">🏠 root</a>
154
- <br>
155
- <a href="/$(dirname (dir)) ">.. </a>
150
+ <h3>
151
+ <a href="/" alt="root">🏠</a> <a href="/$(dirname (dir)) " alt="parent dir">⬆️</a> path: <code style='color:gray;'>$(sdir) </code>
156
152
</h2>
153
+
157
154
<hr>
158
155
<ul>
159
156
"""
@@ -183,7 +180,7 @@ function get_dir_list(dir::AbstractString)
183
180
end
184
181
write (io, """
185
182
</ul>
186
- <hr>
183
+ <hr>
187
184
<a href="https://github.com/tlienart/LiveServer.jl">💻 LiveServer.jl</a>
188
185
</body>
189
186
</html>
You can’t perform that action at this time.
0 commit comments