소스 검색

Move CSS/JS/images to a static/ directory; compress background further.

master
Ben Kurtovic 9 년 전
부모
커밋
e312a9970d
6개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +1
    -1
      404.html
  2. +3
    -3
      _layouts/base.html
  3. BIN
     
  4. +0
    -0
      static/date_format.js
  5. +1
    -1
      static/main.css
  6. +0
    -0
      static/syntax.css

+ 1
- 1
404.html 파일 보기

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>404 - Earwig</title>
<link rel="stylesheet" href="/css/main.css" type="text/css" />
<link rel="stylesheet" href="/static/main.css" type="text/css" />
</head>
<body>
<div id="container">


+ 3
- 3
_layouts/base.html 파일 보기

@@ -3,9 +3,9 @@
<head>
<meta charset="utf-8">
<title>{{ page.title }} - Ben Kurtovic</title>
<link rel="stylesheet" href="/css/main.css" type="text/css" />
<link rel="stylesheet" href="/css/syntax.css" type="text/css" /> <!-- shamelessly stolen from https://github.com/mojombo/tpw/blob/master/css/syntax.css -->
<script src="/js/date_format.js" type="text/javascript"></script>
<link rel="stylesheet" href="/static/main.css" type="text/css" />
<link rel="stylesheet" href="/static/syntax.css" type="text/css" /> <!-- shamelessly stolen from https://github.com/mojombo/tpw/blob/master/css/syntax.css -->
<script src="/static/date_format.js" type="text/javascript"></script>
<script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
</head>
<body>



js/date_format.js → static/date_format.js 파일 보기


css/main.css → static/main.css 파일 보기

@@ -5,7 +5,7 @@ body {
font-family: helvetica, arial, clean, sans-serif;
font-size: 16px;
color: #000;
background: #E0E0E0 url("/images/background.png") repeat top left;
background: #E0E0E0 url("/static/background.png") repeat top left;
}

p {

css/syntax.css → static/syntax.css 파일 보기


불러오는 중...
취소
저장