Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created PDF block include and logic to include it in the section subm…
…enu if site_section contains 'cck'. Pages in the CCK section may now include the Download PDF button and Download All button by using two front matter variables: 'pdf: pdf-filename-in-files-directory' and 'pdf-all: true'
- Loading branch information
Chris Ritzo
committed
Feb 25, 2014
1 parent
41cf426
commit 52207e5
Showing
99 changed files
with
367 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% if {{page.pdf}} %} | ||
<div class="cck-download-pdf"> | ||
<a href="/files/{{page.pdf}}"> | ||
<img src="/files/CCK_pdf.png" alt="Download {{page.title}} PDF" /"> | ||
</a> | ||
</div> | ||
<span class="cck-download"><a href="/files/{{page.pdf}}">Download PDF</a></span> | ||
{% endif %} | ||
{% if {{page.pdf-all}} %} | ||
<div class="cck-download-all"> | ||
<a href="/files/cck-1.0.zip"> | ||
<img src="/files/CCK_allpdf.png" alt="Download All CCK Modules as PDFs" /><br /> | ||
<span class="cck-download">Download All</span> | ||
</a> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ <h3><a href="/about">About</a></h3> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,7 @@ <h1 class="pageheadings">Access Denied</h1> | |
|
||
|
||
|
||
|
||
</div> | ||
|
||
<div class="left-twothird"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.