mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 01:56:03 +02:00
Implement ace editor for coding
This commit is contained in:
parent
d422795c04
commit
65bc388ee9
10 changed files with 77 additions and 41 deletions
|
@ -1,3 +1,22 @@
|
|||
def default_tutorial_html
|
||||
<<-EOT.strip
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<title>My web site</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Hello World!
|
||||
|
||||
</body>
|
||||
</html>
|
||||
EOT
|
||||
end
|
||||
|
||||
get '/tutorials' do
|
||||
erb :'tutorials'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue