Skip to content

Commit

Permalink
feat(template): use user.less and user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Sep 29, 2015
1 parent 555a5db commit 00e0d72
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<script src="{{ '/js/app.js?assets-inline' | prepend: amsf_theme_assets }}"></script>

<!-- User custom scripts -->
<script src="{{ '/js/custom.js?assets-inline' | prepend: amsf_user_assets }}"></script>
<script src="{{ '/js/user.js?assets-inline' | prepend: amsf_user_assets }}"></script>

<!-- Google Analytics tracking code -->
{{ amsf_google_analytics }}
Expand Down
2 changes: 1 addition & 1 deletion _app/_posts/note/2014-06-09-creating-themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Define the following code snippet into your theme template (it's recommended to

```html
<!-- User custom scripts -->
<script src="{% raw %}{{ '/js/custom.js?assets-inline' | prepend: amsf_user_assets }}{% endraw %}"></script>
<script src="{% raw %}{{ '/js/user.js?assets-inline' | prepend: amsf_user_assets }}{% endraw %}"></script>
```

### Page / Post Specific CSS Block Support
Expand Down
6 changes: 3 additions & 3 deletions _app/_posts/note/2014-06-11-customizing-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ category: note
tags: customization
---

You can customize the basic look and feel without touching the theme files by changing `custom.js` and `custom.less`:
You can customize the basic look and feel without touching the theme files by changing `user.js` and `user.less`:

```
├── _app/
| ├── assets/
| | └── _js/
| | | └── custom.js
| | | └── user.js
| | └── _less/
| | | └── custom.less
| | | └── user.less
| | └── themes/
| | | └── ...
```
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion _app/assets/themes/curtana/_less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -777,4 +777,4 @@ body:hover .latest {
@import "module-loader";

// Import user custom styles
@import "../../../_less/custom";
@import "../../../_less/user";

0 comments on commit 00e0d72

Please sign in to comment.