Compare commits
No commits in common. "78b50d27c2e7f0c9ec4d33b3900ec44c6eab2a8d" and "9b959408bba344b01e25475b53819cdca8ce6e95" have entirely different histories.
78b50d27c2
...
9b959408bb
@ -66,7 +66,6 @@ html {
|
||||
font-size: 0.8em;
|
||||
background-color: var(--bg-color);
|
||||
border: 1px solid #bbbbdd;
|
||||
overflow: scroll;
|
||||
}
|
||||
nav li:first-child {
|
||||
border-left: none;
|
||||
@ -101,9 +100,3 @@ html {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
13
prepare.sh
13
prepare.sh
@ -1,8 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set +e
|
||||
|
||||
git submodule update --init --recursive
|
||||
|
||||
(cd tools/mmd && make release)
|
||||
(cd tools/mmd/build && make)
|
||||
git submodule init
|
||||
git submodule update
|
||||
cd tools/mmd
|
||||
make release
|
||||
cd build
|
||||
make
|
||||
cd ../..
|
||||
|
@ -53,7 +53,6 @@ article_head += "---\n\n"
|
||||
header = f"""HTML header: <meta property="og:title" content="{title} on mjestečko"></meta>
|
||||
<meta property="og:type" content="article"></meta>
|
||||
<meta property="og:url" content="{argv[2]}/articles/{urllib.parse.quote(directory)}.html"></meta>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
"""
|
||||
if not brief is None:
|
||||
header += f"""<meta property="og:description" content="{brief}"></meta>\n"""
|
||||
|
@ -16,7 +16,6 @@ seed()
|
||||
|
||||
page_metadata = """Title: mjestečko
|
||||
CSS: /style.css
|
||||
HTML header: <meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
"""
|
||||
|
||||
|
@ -10,14 +10,8 @@ import os.path as path
|
||||
from article_utils import the_line_after_metadata, parse_metadata
|
||||
from page_shares import wrap_page
|
||||
|
||||
tag_listing_header = """CSS: /style.css
|
||||
HTML header: <meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
"""
|
||||
main_listing_header = """CSS: /style.css
|
||||
HTML header: <meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
"""
|
||||
tag_listing_header = "CSS: /style.css\n\n"
|
||||
main_listing_header = "CSS: /style.css\n\n"
|
||||
|
||||
if len(argv) <= 1:
|
||||
print("No article directory was supplied")
|
||||
|
Loading…
Reference in New Issue
Block a user