From f818d439160c8f06add42dd10cfcdbddc71b04d7 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 8 Jan 2016 21:16:14 -0800 Subject: Add stuff to source/ and exclude them The lonely templates/template.html finally finds it home in the cozy source/, where it rightfully belongs, without the need to worry about being exposed to the world in build/ ;) The full fontello distribution I downloaded (and unpacked) from fontello.com is now in source/fonts/fontello. --- pyblog | 3 +- source/.exclude | 8 + source/fonts/fontello/LICENSE.txt | 12 + source/fonts/fontello/README.txt | 75 ++++++ source/fonts/fontello/config.json | 22 ++ source/fonts/fontello/css/animation.css | 85 +++++++ source/fonts/fontello/css/fontello-codes.css | 3 + source/fonts/fontello/css/fontello-embedded.css | 56 ++++ source/fonts/fontello/css/fontello-ie7-codes.css | 3 + source/fonts/fontello/css/fontello-ie7.css | 14 + source/fonts/fontello/css/fontello.css | 58 +++++ source/fonts/fontello/demo.html | 310 +++++++++++++++++++++++ source/fonts/fontello/font/fontello.eot | Bin 0 -> 5152 bytes source/fonts/fontello/font/fontello.svg | 13 + source/fonts/fontello/font/fontello.ttf | Bin 0 -> 4984 bytes source/fonts/fontello/font/fontello.woff | Bin 0 -> 2872 bytes source/template.html | 62 +++++ templates/template.html | 62 ----- 18 files changed, 722 insertions(+), 64 deletions(-) create mode 100644 source/.exclude create mode 100644 source/fonts/fontello/LICENSE.txt create mode 100644 source/fonts/fontello/README.txt create mode 100644 source/fonts/fontello/config.json create mode 100644 source/fonts/fontello/css/animation.css create mode 100644 source/fonts/fontello/css/fontello-codes.css create mode 100644 source/fonts/fontello/css/fontello-embedded.css create mode 100644 source/fonts/fontello/css/fontello-ie7-codes.css create mode 100644 source/fonts/fontello/css/fontello-ie7.css create mode 100644 source/fonts/fontello/css/fontello.css create mode 100644 source/fonts/fontello/demo.html create mode 100644 source/fonts/fontello/font/fontello.eot create mode 100644 source/fonts/fontello/font/fontello.svg create mode 100644 source/fonts/fontello/font/fontello.ttf create mode 100644 source/fonts/fontello/font/fontello.woff create mode 100644 source/template.html delete mode 100644 templates/template.html diff --git a/pyblog b/pyblog index b3b174d5..8438bc71 100755 --- a/pyblog +++ b/pyblog @@ -62,8 +62,7 @@ SOURCEDIR = os.path.join(ROOTDIR, "source") POSTSDIR = os.path.join(SOURCEDIR, "blog") INDEXMD = os.path.join(SOURCEDIR, "index.md") GENERATORSOURCE = os.path.join(ROOTDIR, "pyblog") -TEMPLATEDIR = os.path.join(ROOTDIR, "templates") -HTMLTEMPLATE = os.path.join(TEMPLATEDIR, "template.html") +HTMLTEMPLATE = os.path.join(SOURCEDIR, "template.html") BUILDDIR = os.path.join(ROOTDIR, "build") ATOM = os.path.join(BUILDDIR, "atom.xml") RSS = os.path.join(BUILDDIR, "rss.xml") diff --git a/source/.exclude b/source/.exclude new file mode 100644 index 00000000..4c74cc9e --- /dev/null +++ b/source/.exclude @@ -0,0 +1,8 @@ +# Items in this exclude list and their descendants won't be copied to +# deployment directory. Note that files starting with dot are automatically +# excluded (but not directories starting with dot). +# +# No negation or globbing (yet). + +template.html +fonts/fontello/ diff --git a/source/fonts/fontello/LICENSE.txt b/source/fonts/fontello/LICENSE.txt new file mode 100644 index 00000000..de420587 --- /dev/null +++ b/source/fonts/fontello/LICENSE.txt @@ -0,0 +1,12 @@ +Font license info + + +## Entypo + + Copyright (C) 2012 by Daniel Bruce + + Author: Daniel Bruce + License: SIL (http://scripts.sil.org/OFL) + Homepage: http://www.entypo.com + + diff --git a/source/fonts/fontello/README.txt b/source/fonts/fontello/README.txt new file mode 100644 index 00000000..a91438a9 --- /dev/null +++ b/source/fonts/fontello/README.txt @@ -0,0 +1,75 @@ +This webfont is generated by http://fontello.com open source project. + + +================================================================================ +Please, note, that you should obey original font licences, used to make this +webfont pack. Details available in LICENSE.txt file. + +- Usually, it's enough to publish content of LICENSE.txt file somewhere on your + site in "About" section. + +- If your project is open-source, usually, it will be ok to make LICENSE.txt + file publically available in your repository. + +- Fonts, used in Fontello, don't require a clickable link on your site. + But any kind of additional authors crediting is welcome. +================================================================================ + + +Comments on archive content +--------------------------- + +- /font/* - fonts in different formats + +- /css/* - different kinds of css, for all situations. Should be ok with + twitter bootstrap. Also, you can skip style and assign icon classes + directly to text elements, if you don't mind about IE7. + +- demo.html - demo file, to show your webfont content + +- LICENSE.txt - license info about source fonts, used to build your one. + +- config.json - keeps your settings. You can import it back into fontello + anytime, to continue your work + + +Why so many CSS files ? +----------------------- + +Because we like to fit all your needs :) + +- basic file, .css - is usually enough, it contains @font-face + and character code definitions + +- *-ie7.css - if you need IE7 support, but still don't wish to put char codes + directly into html + +- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face + rules, but still wish to benefit from css generation. That can be very + convenient for automated asset build systems. When you need to update font - + no need to manually edit files, just override old version with archive + content. See fontello source code for examples. + +- *-embedded.css - basic css file, but with embedded WOFF font, to avoid + CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain. + We strongly recommend to resolve this issue by `Access-Control-Allow-Origin` + server headers. But if you ok with dirty hack - this file is for you. Note, + that data url moved to separate @font-face to avoid problems with + + + + + + + +
+

+ fontello + font demo +

+ +
+
+
+
icon-rss0xe800
+
icon-cc0xe801
+
+
+ + + \ No newline at end of file diff --git a/source/fonts/fontello/font/fontello.eot b/source/fonts/fontello/font/fontello.eot new file mode 100644 index 00000000..9f5d486b Binary files /dev/null and b/source/fonts/fontello/font/fontello.eot differ diff --git a/source/fonts/fontello/font/fontello.svg b/source/fonts/fontello/font/fontello.svg new file mode 100644 index 00000000..3ce4b9b1 --- /dev/null +++ b/source/fonts/fontello/font/fontello.svg @@ -0,0 +1,13 @@ + + + +Copyright (C) 2016 by original authors @ fontello.com + + + + + + + + + \ No newline at end of file diff --git a/source/fonts/fontello/font/fontello.ttf b/source/fonts/fontello/font/fontello.ttf new file mode 100644 index 00000000..4b372c14 Binary files /dev/null and b/source/fonts/fontello/font/fontello.ttf differ diff --git a/source/fonts/fontello/font/fontello.woff b/source/fonts/fontello/font/fontello.woff new file mode 100644 index 00000000..04b7ffcd Binary files /dev/null and b/source/fonts/fontello/font/fontello.woff differ diff --git a/source/template.html b/source/template.html new file mode 100644 index 00000000..a42df254 --- /dev/null +++ b/source/template.html @@ -0,0 +1,62 @@ + + + + + + +$if(date)$ + +$endif$ + $pagetitle$ + + + + + + + + + + +$if(highlighting-css)$ + +$endif$ + + + + +
+$if(title)$ +
+

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ + +
+$endif$ +$body$ +
+
+
+$if(updated)$ + + + +$endif$ + + + Zhiming Wang + +
+ + diff --git a/templates/template.html b/templates/template.html deleted file mode 100644 index a42df254..00000000 --- a/templates/template.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - -$if(date)$ - -$endif$ - $pagetitle$ - - - - - - - - - - -$if(highlighting-css)$ - -$endif$ - - - - -
-$if(title)$ -
-

$title$

-$if(subtitle)$ -

$subtitle$

-$endif$ - -
-$endif$ -$body$ -
-
- - - -- cgit v1.2.1