Skip to content

Commit 06a6945

Browse files
committed
layout and exclude pages
1 parent 10a6240 commit 06a6945

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

content/_includes/layout.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,23 @@
2323
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.min.css">
2424
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.8.1/github-markdown-light.min.css">-->
2525
<style>
26-
//.markdown-body { max-width: 70ch; margin-inline: auto; padding: 2rem; }
27-
.container { display: flex; gap: 10px; }
28-
.half { box-sizing: border-box; }
26+
//.markdown-body { max-width: 70ch; margin-inline: auto; padding: 2rem; }
27+
.container { display: flex; gap: 10px; }
28+
.half { box-sizing: border-box; }
29+
.half:first-child { width: 60%;}
30+
.half:last-child { width: 40%; }
31+
32+
@media (max-width: 768px) {
33+
.container { flex-direction: column; }
34+
.half { width: 100% !important; }
35+
.half:last-child img { width: 100%; height: auto; display: block; }
36+
}
2937
</style>
3038
</head>
3139

3240
<body>
3341
<div class="container">
34-
<div class="half" style="width:60%">
42+
<div class="half">
3543
<h1>{{ title }}</h1>
3644
<p><strong>{{ words | join: " | " }}</strong></p>
3745
<h3>Snapshort:</h3>
@@ -41,7 +49,7 @@ <h3>Snapshort:</h3>
4149
{% endfor %}
4250
</ul>
4351
</div>
44-
<div class="half" style="width:40%">
52+
<div class="half">
4553
<img src="{{ main-photo }}" alt="Evgeny Metelkin">
4654
</div>
4755
</div>

content/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
User-agent: *
22
Allow: /
33

4+
Disallow: /NumDisplay.jl/
5+
Disallow: /CharDisplay.jl/
6+
Disallow: /LEDStrip.jl/
7+
48
# Optional—but useful so Google finds it fast
59
Sitemap: https://metelkin.me/sitemap.xml

0 commit comments

Comments
 (0)