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