droppable?
All checks were successful
deploy to neocities / Build and deploy Jekyll site (push) Successful in 1m9s

This commit is contained in:
2025-08-24 01:09:06 +02:00
parent 9b2ef97307
commit 5fe686c1c8
5 changed files with 23 additions and 2 deletions

View File

@@ -6,9 +6,11 @@
<p><a href="https://letterboxd.com/beppev/">letterboxd</a></p> <p><a href="https://letterboxd.com/beppev/">letterboxd</a></p>
<p><a href="https://myanimelist.net/profile/BeppeV">myanimelist</a></p> <p><a href="https://myanimelist.net/profile/BeppeV">myanimelist</a></p>
<p><a href="https://git.beppe.online/beppe">gitea</a></p> <p><a href="https://git.beppe.online/beppe">gitea</a></p>
<a href="#" onclick="toggle(1);" >blogposts</a>
<ul class="submenu">
{% for post in site.posts %} {% for post in site.posts %}
<p><a href="{{ post.url }}">{{ post.title }}</a></p> <li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
</ul>
</div> </div>

Binary file not shown.

View File

@@ -4,6 +4,7 @@
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/main.css">
<script src="js/main.js"></script>
<title>{{ page.title }}</title> <title>{{ page.title }}</title>
</head> </head>
<body> <body>

7
_layouts/post.html Normal file
View File

@@ -0,0 +1,7 @@
---
layout: default
---
<h1>{{ page.title }}</h1>
<p>{{ page.date | date_to_string }} - {{ page.author }}</p>
{{ content }}

11
js/main.js Normal file
View File

@@ -0,0 +1,11 @@
function toggle(n) {
var menus = document.getElementsByClassName("submenu");
for(var i=0;i<menus.length;i++){
if((i == (n-1)) && (menus[i].style.display != "block")){
menus[i].style.display = "block";
}else{
menus[i].style.display = "none";
}
}
};