Commit graph

85 commits

Author SHA1 Message Date
Carmen La
717b2dc370 Update project.clj 2015-06-04 16:18:15 -04:00
Carmen La
eb8698944e bumped up dependencies 2015-05-28 23:55:22 -04:00
Dmitri Sotnikov
092e4e4774 updated url 2015-04-14 16:17:56 -04:00
Dmitri Sotnikov
b355bba2e1 bumped up pandect 2015-04-14 16:13:54 -04:00
Yogthos
e0d3676196 added an error check for parsing the config.edn 2015-04-02 22:22:17 -04:00
Dmitri Sotnikov
97de91ca90 Update project.clj 2015-03-15 21:46:16 -04:00
Carmen La
5ffd30895f Merge pull request #23 from ericsomdahl/master
Modification to allow the generated rss xml to pass xsd validation.
2015-03-13 01:15:57 -04:00
Eric Somdahl
6b45fdc35a Modification to allow the generated rss xml to pass xsd validation.
1) Removed the <author> tag from each <item>.  The presence of this tag is ok here but the xsd requires that the content include a valid email address, not just the name string coming from the site config (Forms that pass validation are "test@xyz.com" or "test@xyz.com (Test McTester)" ).  And who would want to advertise their real email like that?  :)
2) Removed the <author> tag from the <channel>.  <author> isn't a valid child element of a channel.  There is a child element called <webMaster> that is a close analogue but it also requires content as above.
2015-03-10 21:29:04 -04:00
Dmitri Sotnikov
e3641885a2 bumped up dependencies 2015-02-26 22:28:42 -05:00
Carmen La
3d05b46e16 Merge pull request #21 from wjlroe/access-all-config-in-templates
Pass all config to templates
2015-02-23 15:16:47 -05:00
William Roe
c52d3d1aa6 Pass all config to templates
This allows people to use any parameter from their config as well as the
params that were already being used.
2015-02-23 18:14:31 +00:00
Dmitri Sotnikov
e909a48015 bumped up selmer 2015-02-21 23:45:24 -05:00
Carmen La
efdd06ef29 Merge pull request #20 from wjlroe/compile-sass-with-compass
Compile sass with compass when available
2015-02-21 23:34:31 -05:00
William Roe
5587cc88ef Run SASS relative to sass/
This is so that SASS/Compass can find images and other assets
2015-02-21 23:36:20 +00:00
William Roe
52244956aa Option maps are easier to use when calling functions
... with more than a couple of parameters.
2015-02-21 22:15:40 +00:00
William Roe
0c7743e605 Ensure sass errors printed visably in red
Also include the standard output as it frequently includes crucial
information in narrowing down where errors lie in SASS files
2015-02-21 22:07:41 +00:00
William Roe
7595cbcf70 Include --compass when it is available 2015-02-21 21:56:38 +00:00
Carmen La
4e45a92f92 Updated versioneye badge 2015-01-29 22:58:49 -05:00
Carmen La
91effffe82 Merge pull request #17 from dl1ely/master
Fix overly eager replacement of file extensions in uris, fixes #16
2015-01-28 19:16:37 -05:00
Stefan Pfeiffer, DL1ELY
f74c05711b Fix overly eager replacement of file extensions in uris
As the filename extensions given by the render plugins are also used as
regex for replacing them with .html to generate URIs, the dot in front of
the extension was interpreted as an arbitrary character for the regex.
Also, it matched in the middle of a string. Now dots get quoted and a $
added to only match at the end of the filename.

Fix #16
2015-01-28 22:19:01 +01:00
lacarmen
02b5117643 bumped up version 2015-01-28 12:30:51 -05:00
Dmitri Sotnikov
362989ac77 Merge pull request #14 from dl1ely/master
Fix garbled UTF-8 characters in TOC generation
2015-01-28 10:31:38 -05:00
Stefan Pfeiffer, DL1ELY
a73e2f664e Fix garbled UTF-8 characters in TOC generation
Fixes #13
2015-01-28 15:43:32 +01:00
lacarmen
9de65df523 Added :content key to grouped tags in order to fix filtered rss generation 2015-01-22 12:18:32 -05:00
lacarmen
dc50d12557 bumped up version 2015-01-17 18:13:08 -05:00
Dmitri Sotnikov
c16aad96e1 bumped up pandect to latest 2015-01-17 15:28:04 -05:00
Dmitri Sotnikov
4518c29ade bumped up selmer version 2015-01-17 15:26:14 -05:00
Yogthos
fee46ddf54 updated to use init function to load plugins 2015-01-14 22:07:51 -05:00
Yogthos
96502bd517 updated to use parser modules 2015-01-14 20:49:51 -05:00
Carmen La
cc16110f10 bump up version 2015-01-14 15:13:51 -05:00
Dmitri Sotnikov
25a625d4bc Merge pull request #11 from Tankanow/handle-missing-asset-roots
find-assets handles get-resource returning nil
2015-01-11 14:27:13 -05:00
Adam Tankanow
8ff3f19362 find-assets handles get-resource returning nilern
- this can/will happen if a user doesn't have a resource root directory,
  e.g. if the resources/templates/asc/posts directory doesn't exist.
2015-01-11 14:20:10 -05:00
Carmen La
142f0908a0 Merge pull request #5 from Tankanow/add-asciidoc-support
Add asciidoc support
2015-01-09 10:19:32 -05:00
Adam Tankanow
cb18e5734d Merge branch 'master' into add-asciidoc-support
Conflicts:
	project.clj
2015-01-09 09:15:54 -05:00
Adam Tankanow
5609772cd3 Add docstring and support for creating links for header id attributes
- this method will now look for both of the following references, this
  commit adds support for (2)

(1) <h1><a name="href">Reference Text</a></h1>
and
(2) <h1 id="href">Reference Text</h1>
2015-01-09 07:16:22 -05:00
Adam Tankanow
b3bad2e279 add docstring to get-headings function 2015-01-09 07:13:35 -05:00
Adam Tankanow
eda815a5ae remove asciidoc options/attributes and add rewrite-href post processing 2015-01-09 07:12:56 -05:00
Adam Tankanow
1cff8eadf2 refactor rewrite-hrefs into 2 functions
- (1) can be reused by the asciidoc processing, it simply does the text
  replace
- (2) is a transformer using (1) for use in markdown.core
2015-01-09 07:11:38 -05:00
Adam Tankanow
21d825d0cd fix spacing in markdown method 2015-01-09 07:10:49 -05:00
Yogthos
0afc39cf35 updated to latest markdown-clj 2015-01-08 19:55:33 -05:00
lacarmen
c26357ac11 Update version 2015-01-08 11:12:17 -05:00
Carmen La
0a633bcf3c Merge pull request #10 from j0ni/emacs-interlock-files
Copy each file rather than the whole directory
2015-01-08 11:10:06 -05:00
J Irving
072c093342 Copy each file rather than the whole directory 2015-01-07 23:54:58 -05:00
lacarmen
656cc2d0c9 Added curated RSS generation based on :rss-filters in the config 2015-01-03 20:36:30 -05:00
Carmen La
6c9be90fa4 Updated version 2015-01-02 10:45:06 -05:00
Carmen La
98d93e7921 Merge pull request #9 from j0ni/checksums
Use checksums instead of last modified times.
2015-01-02 10:41:14 -05:00
J Irving
4eb0036ef5 Use checksums instead of last modified times.
Also add pandect dependency.
2015-01-02 00:21:21 -05:00
Dmitri Sotnikov
7a84c4c6f5 Merge pull request #8 from j0ni/fix-sass-ignores
Sass compilation respects :ignored-files config
2015-01-01 12:08:54 -05:00
J Irving
6f7cb79a65 Sass compilation respects :ignored-files config
This is an oversight from lacarmen/cryogen-core#4.

Also some slight refactoring.
2015-01-01 03:49:03 -05:00
lacarmen
bca0e89aa2 Added uri and site-url selmer tags for canonical url meta tags 2014-12-31 23:21:38 -05:00