Cambiado de laravel a flask
Todo es mas simple~
This commit is contained in:
35
www/index.html
Normal file
35
www/index.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<title>Daniel Cortés</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width-device-width, initial-scale=1">
|
||||
<meta name="author" content="Daniel Cortés">
|
||||
<link rel="stylesheet" href="/assets/style.css" type="text/css">
|
||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Daniel Cortes</h1>
|
||||
<ul>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/now.html">Now</a></li>
|
||||
<li><a href="/projects.html">Projects</a></li>
|
||||
<li><a href="/setup.html">Setup</a></li>
|
||||
<li><a href="/random.html">Random</a></li>
|
||||
<li><a href="/about.html">About</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
function makeImagesClickeable() {
|
||||
document.querySelectorAll("img").forEach(img => {
|
||||
img.addEventListener("click", e => window.open(e.target.src))
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
makeImagesClickeable();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user