Fix the h1 and date
5cb5207e46d0650c1ce1b43befd9f054a06df0a7
1 parent
81832d90
build
+1 -1
| 47 | 47 | ||
| 48 | 48 | name = File::basename(input, File::extname(input)) |
|
| 49 | 49 | ||
| 50 | 50 | @name = name |
|
| 51 | 51 | @articles = $articles |
|
| 52 | - | @year = self.year |
|
| 52 | + | @year = Date.today.year |
|
| 53 | 53 | ||
| 54 | 54 | header, body = File.read(input).split(/\n\n/, 2) |
|
| 55 | 55 | result = header && header.strip.match(/^<!--(.*)-->$/m) |
|
| 56 | 56 | meta = result[1] || abort("article #{input} is not well formed") |
|
| 57 | 57 |
css/base.css
+1 -1
| 121 | 121 | h3, h4, h5 { |
|
| 122 | 122 | font-weight: normal !important; |
|
| 123 | 123 | } |
|
| 124 | 124 | ||
| 125 | 125 | h1 { |
|
| 126 | - | font-size: 1.2rem; |
|
| 126 | + | font-size: 1.5rem; |
|
| 127 | 127 | line-height: 1.4em; |
|
| 128 | 128 | font-weight: bold; |
|
| 129 | 129 | } |
|
| 130 | 130 | h2 { |
|
| 131 | 131 | font-size: 1.3rem; |