Move css/ to html/css/.

This commit is contained in:
Zhang Huangbin 2014-09-17 13:47:00 +08:00
parent e2cf5997c9
commit 9aa9e68864
13 changed files with 12 additions and 12 deletions

View File

@ -96,7 +96,7 @@ done
#cd ${OUTPUT_DIR}
# Generate index.html
${CMD_CONVERT} ${INDEX_MD} ${OUTPUT_DIR} css='../css/markdown.css'
${CMD_CONVERT} ${INDEX_MD} ${OUTPUT_DIR} css='./css/markdown.css'
# Cleanup
rm -f ${INDEX_MD}

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/markdown.css" rel="stylesheet"></head>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../../css/markdown.css" rel="stylesheet"></head>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>

View File

@ -33,7 +33,7 @@ for arg in args:
cmd_opts[var] = value
if not 'css' in cmd_opts:
cmd_opts['css'] = '../../css/markdown.css'
cmd_opts['css'] = '../css/markdown.css'
# Get article title
cmd_opts['title'] = commands.getoutput("""grep 'Title:' %s |awk -F'Title: ' '{print $2}'""" % filename)