make details linkable

This commit is contained in:
2019-12-02 11:42:07 +01:00
parent f530191f30
commit 155fea44b9

View File

@@ -137,7 +137,7 @@
<a href="https://www.merriam-webster.com/dictionary/freelancer">Freelancer</a>. <a href="https://www.merriam-webster.com/dictionary/freelancer">Freelancer</a>.
</p> </p>
</div> </div>
<details> <details id="current">
<summary>What I am doing right now</summary> <summary>What I am doing right now</summary>
<p> <p>
Im currently in Berlin, Germany, thinking about tooling in static Im currently in Berlin, Germany, thinking about tooling in static
@@ -146,7 +146,7 @@
ideas around that. ideas around that.
</p> </p>
</details> </details>
<details> <details id="services">
<summary>What I can do for you</summary> <summary>What I can do for you</summary>
<p> <p>
I am available for consulting work. Here are a few examples of I am available for consulting work. Here are a few examples of
@@ -190,7 +190,7 @@
youre especially curious. youre especially curious.
</p> </p>
</details> </details>
<details> <details id="rates">
<summary>What I charge</summary> <summary>What I charge</summary>
<p> <p>
My rates are fixed and follow a simple, but beautiful scheme: My rates are fixed and follow a simple, but beautiful scheme:
@@ -216,7 +216,7 @@
<a href="mailto:veit@veitheller.de">contact me</a>! <a href="mailto:veit@veitheller.de">contact me</a>!
</p> </p>
</details> </details>
<details> <details id="contact">
<summary>How you can contact me</summary> <summary>How you can contact me</summary>
<p> <p>
I love to hear from any- and everyone who wants to share something I love to hear from any- and everyone who wants to share something
@@ -236,5 +236,13 @@
</p> </p>
</details> </details>
</div> </div>
<script>
// convenience for your linking pleasure. sorry for the hack.
let hash = location.hash.substring(1);
if (hash) {
let details = document.getElementById(hash);
if (details) details.open = true;
}
</script>
</body> </body>
</html> </html>