This commit is contained in:
Dooho Yi 2021-01-24 17:37:06 +09:00
parent f5629a52ef
commit d1c5671de5
3 changed files with 11 additions and 4 deletions

View file

@ -2,7 +2,7 @@
(?d).DS_Store
#distribusi controlled
index.html
(?d)**/index.html
#git related
.git
@ -16,4 +16,3 @@ node_modules
#
data

View file

@ -150,7 +150,8 @@ def render_dir(args, root):
subtype = 'html'
# what types of text files to expand
a = '<section id="{}">{}</section>'.format(name, open(full_path).read())
elif subtype in CODE_TYPES or name.endswith('.txt'):
#elif subtype in CODE_TYPES or name.endswith('.txt'):
elif name.endswith('.txt'):
#check - time string
m = PATTERN_TSTR.search(name)
tstring = ""
@ -260,7 +261,8 @@ def distribusify(args, directory): # noqa
subtype = 'html'
# what types of text files to expand
a = '<section id="{}">{}</section>'.format(name, open(full_path).read())
elif subtype in CODE_TYPES or name.endswith('.txt'):
#elif subtype in CODE_TYPES or name.endswith('.txt'):
elif name.endswith('.txt'):
#check - time string
m = PATTERN_TSTR.search(name)
tstring = ""

View file

@ -61,6 +61,12 @@ div {
white-space: pre-line;
}
/* .x-c div,
.x-shellscript div,
.x-python div {
white-space: pre-line;
} */
figure {
margin: 0;
padding: 0;