You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Almace Scaffolding** ships a sleek responsive theme, a variant of [sparanoid.com](http://sparanoid.com/), looking great on any mordern browsers
@@ -50,7 +49,6 @@
50
49
51
50
*: Well, only when your posts don’t have fancy sliders or other external media files.
52
51
53
-
<aname="c2"></a>
54
52
## Setup
55
53
56
54
1.[Fork](https://github.com/sparanoid/almace-scaffolding/fork) this project, checkout to your local machine.
@@ -60,7 +58,6 @@
60
58
61
59
Still can't get things working? Why not try my [video tutorials](http://www.youtube.com/watch?v=5NV6Rdv1a3I).
62
60
63
-
<aname="c3"></a>
64
61
## Managing Media
65
62
66
63
Media files are located in `./assets/` and grouped by different formats:
@@ -72,12 +69,10 @@ Media files are located in `./assets/` and grouped by different formats:
72
69
-`./js/`: JavaScript files, put all needed sctipts in this directoy will just work fine. I don't expect to have many scripts so no complex `vender`, `lib`, or other fancy structures used for this project.
73
70
-`./svg/`: The same as `./img/`.
74
71
75
-
<aname="c4"></a>
76
72
## Upgrading
77
73
78
74
Upgrading templates is hard, it will be easy if you are're a casual blogger and keep every template file untouched. Just copy and paste all template files in `_assets`, `_includes`, and `_layouts`. If you change the templates directly, you have to compare them side to side.
79
75
80
-
<aname="c5"></a>
81
76
## Tips
82
77
83
78
- Additional variables are stored in [`./_app/_data/`](/_app/_data) directory. They can be accessed by Jekyll. ([More info](http://jekyllrb.com/docs/datafiles/))
@@ -88,12 +83,10 @@ Upgrading templates is hard, it will be easy if you are're a casual blogger and
88
83
- Customize your site using `custom.less`.
89
84
- Some tasks in `Gruntfile.coffee` are not used in this project, they're copied from my own [website](https://github.com/sparanoid/sparanoid.com), I'll keep them untouched in case you need these.
90
85
91
-
<aname="c6"></a>
92
86
## Avaiable Styles
93
87
94
88
I've written some useful CSS classes for you, see below:
95
89
96
-
<aname="c6-1"></a>
97
90
### `.note`, `.store`, and `.download`
98
91
99
92
A paragraph block with a thin border line.
@@ -110,7 +103,6 @@ Usage:
110
103
</p>
111
104
```
112
105
113
-
<aname="c6-2"></a>
114
106
### `.browser`
115
107
116
108
A simple browser frame using pure CSS.
@@ -123,7 +115,6 @@ Usage:
123
115
</p>
124
116
```
125
117
126
-
<aname="c6-3"></a>
127
118
### `.largetype`
128
119
129
120
Make normal paragraph text large enough.
@@ -136,22 +127,18 @@ Usage:
136
127
</p>
137
128
```
138
129
139
-
<aname="c7"></a>
140
130
## Avaiable Settings
141
131
142
132
All custom settings can be configured at [`_app/_data/var.yml`](_app/_data/var.yml), it's well commented so you should really check it out.
143
133
144
-
<aname="c8"></a>
145
134
## Demo
146
135
147
136
Live demo available at [amsf.github.io](http://amsf.github.io/)
148
137
149
138
You can also see a more complex live demo using this framework at [my site](http://sparanoid.com/).
150
139
151
-
<aname="c9"></a>
152
140
## GitHub Pages Setup Guide
153
141
154
-
<aname="c9-1"></a>
155
142
### The Problem
156
143
157
144
Unfortunately this project doesn't work with GitHub Pages or GitHub Pages for projects. There're some factors that prevent it from generating pages:
@@ -160,7 +147,6 @@ Unfortunately this project doesn't work with GitHub Pages or GitHub Pages for pr
160
147
- Almace Scaffolding uses the latest pre-release Jekyll, so not all features are supported by GitHub Pages renderers.
161
148
- GItHub Pages build server [overwrites the `source` settings](https://help.github.com/articles/pages-don-t-build-unable-to-run-jekyll#source-setting). This prevent it generating pages from current file structure.
162
149
163
-
<aname="c9-2"></a>
164
150
### The Solution
165
151
166
152
I know this can be tricky and more verbose than uploading your Jekyll site directly to your repository. However GitHub Pages support static HTML pages, a workaround solution for using Almace Scaffolding on GitHub Pages is treating your Jekyll site as static pages:
@@ -176,20 +162,17 @@ If you'd like to keep all things under Git control, you can try the following fi
176
162
177
163
You can see this [live demo](http://github.com/amsf/amsf.github.io/) how to make them friends.
178
164
179
-
<aname="donate"></a>
180
165
## Donate
181
166
182
167
Wanna buy me a cup of coffee? [Great](http://sparanoid.com/donate/).
Following files, directories and their contents are copyright Tunghsiao Liu and licensed under a [CC BY-NC-ND 3.0](http://creativecommons.org/licenses/by-nc-nd/3.0/). You may not reuse anything therein without permission:
0 commit comments