Lakshmi Vyasarajan
2db79bb55c
Issue 18: Sorter now excludes items that do not have sorting attributes
14 years ago
Lakshmi Vyasarajan
581a789121
Made sure the equals type args are supported for short forms as well
14 years ago
Vincent Bernat
a8f8b57fe4
Handle complex media URL in image resizer plugin.
This allow to handle media_url to external site (like
http://media.example.com ).
14 years ago
Stian Ellingsen
3625162f9f
Let tagger plugin generate archives without any filename extension.
14 years ago
Lakshmi Vyasarajan
3171a53676
Fixed combine test. Fixed stylus so that the include option is recognized
14 years ago
Lakshmi Vyasarajan
28fb703fa0
Fixed stylus command line options
14 years ago
Vincent Bernat
e51e738b1e
JPEGOptim plugin to optimize JPEG images
14 years ago
Vincent Bernat
710d154764
Combine files when the resource is complete (after templating).
Templating engine uses a cache that will keep an old version of the
combined files because the main file was not modified.
14 years ago
Lakshmi Vyasarajan
7bca6edadf
PIL requirement added
14 years ago
Lakshmi Vyasarajan
9a7da0e8fa
Made sorting tests predictable without changing the behavior of sorter plugin
14 years ago
Vincent Bernat
0b9a848e96
Rework ImageSizerPlugin to not use beautiful soup but an adhoc parser.
BeautifulSoup is not compatible with HTML 5 and may mangle your
document. We provide a simple parser that should work in most cases.
14 years ago
Vincent Bernat
4a43492b59
Fix a typo
14 years ago
Vincent Bernat
fb968685a9
Image sizer plugin: add image dimensions in HTML code
This plugin adds `width` and `height` tags to `img` when they are not
present. It also adds them when only one of them is present
(respecting proportions).
14 years ago
Vincent Bernat
99b81267b3
Grab dates from git repository
Grab creation and modification date from git repository. To use this
plugin, `created` and `modified` meta data should be set to `git`.
They will be replaced by the proper date.
14 years ago
Vincent Bernat
cc814a3940
Sort resources by name before combining.
14 years ago
Vincent Bernat
16b763887a
Fix exception raising.
14 years ago
Vincent Bernat
8a2a524a73
Add the ability to remove combined resources from processing.
A new keyword `remove` allows to not deploy resources that have been
combined. Small rework on how the plugin work to remove one change
from hyde generator about dependencies handling.
14 years ago
Vincent Bernat
5ac0ded468
Add a plugin to combine files.
This new plugin allow to combine multiple files into one. Here is an
example:
```
---
combine:
files: luffy.*.js
where: top
---
luffy.effects();
luffy.search();
```
All luffy.*.js files will be combined and added to the top of the file.
14 years ago
Vincent Bernat
cc09d99a4e
Make sorting more predictable.
Always first sort by name then by any attributes you want. Otherwise,
tests may fail.
14 years ago
Vincent Bernat
21f64f056b
less compiler accept several arguments including compression
14 years ago
Vincent Bernat
87391065d0
Add a language plugin.
This plugin allows to link pages that are translated to another
language. Each resource should have a `language` meta attribute and a
`uuid` meta attribute. Resource that have those two meta attributes
will get a new attribute with the list of other resources in a
different language that have the same `uuid` meta attribute.
It is then possible to use something like this to grab the list of
available languages for a given resource:
{% if resource.translations is defined %}
<p>Other languages</p>
<ul>
{% for translation in resource.translations %}
<li><a href="{{ translation.full_url }}">
{{ languages[translation.meta.language] }}
</a></li>
{% endfor %}
</ul>
{% endif %}
(You need a `languages` context in `site.yaml` for this snippet to work:
context:
data:
languages:
fr: Français
en: English
)
14 years ago
Ryan Kelly
0d15885573
LessCSSPlugin: return original text if not a .less file
14 years ago
Lakshmi Vyasarajan
2c8685a602
Fixed deploy path changes so that they happen at the beginning and are not dependent on generation. Removed noise from hyde.server - moved them to debug level
14 years ago
Lakshmi Vyasarajan
d8e8b2b559
Added url cleaner plugin
14 years ago
Lakshmi Vyasarajan
145ede7b11
Fixed console messages
14 years ago
Lakshmi Vyasarajan
ae63cf0225
Added time_now context variable
14 years ago
Lakshmi Vyasarajan
3f8f30f6b5
Changed -i to -r - performs incremental generation by default
14 years ago
Lakshmi Vyasarajan
bb8e3babec
Fixed setup.py to use html from markdown
14 years ago
Lakshmi Vyasarajan
9ca8d70e37
Added tag archives to basic template
14 years ago
Lakshmi Vyasarajan
90f8b33569
Added archive generation for tagger plugin
14 years ago
Lakshmi Vyasarajan
51424cdc8c
Added tagger functions
14 years ago
Lakshmi Vyasarajan
1cf3a46b33
Initial tagger tests added
14 years ago
Lakshmi Vyasarajan
e769c88eda
Added more log messages and fixed an issue with meta plugin for files that contain only meta data
14 years ago
Lakshmi Vyasarajan
ab854e91de
Performance and logging fixes
14 years ago
Lakshmi Vyasarajan
690aa4f4d7
Added optipng plugin
14 years ago
Lakshmi Vyasarajan
b1c4c0cf08
Added stylus plugin
14 years ago
Lakshmi Vyasarajan
fc0e3a412a
Minor fixes to uglify
14 years ago
Lakshmi Vyasarajan
28a7fd124d
Added uglify js plugin
14 years ago
Lakshmi Vyasarajan
e8d9629b59
Fixed depends plugin
14 years ago
Lakshmi Vyasarajan
cb653deb36
Added to_dict method to expando
14 years ago
Lakshmi Vyasarajan
3bcd2904c2
Added ability to get the group associated with the resource
14 years ago
Lakshmi Vyasarajan
fc678e423e
Excluded non-processable resoucrces from auto extend
14 years ago
Lakshmi Vyasarajan
d41ca56ebf
Added a basic version of depends plugin
14 years ago
Lakshmi Vyasarajan
34308069b3
Now passing through ~None~ dependency to regenerate always for dynamic imports. Must replace this with a configurable depends plugin later
14 years ago
Lakshmi Vyasarajan
6cca79c348
Added ability to check if a resource belongs to a group hierarchy
14 years ago
Lakshmi Vyasarajan
c24cdfbceb
Removed print statement
14 years ago
Lakshmi Vyasarajan
742339ddab
Added prev / next for groups
14 years ago
Lakshmi Vyasarajan
dbae017134
Grouping template added
14 years ago
Lakshmi Vyasarajan
f08d0caa51
Single level grouping complete. Now to test multiple levels and a generator template
14 years ago
Lakshmi Vyasarajan
bb4e5d7677
Can walk resources in a group now
14 years ago