├── scripts ├── INTERNAL USE ONLY ├── getwheelhouse.sh ├── generate_conf.py ├── generate_symlinked_list.sh ├── getpyver.py ├── theme_snapshot └── document_path_handlers.py ├── docs ├── sphinx │ ├── manual.txt │ ├── theming.txt │ ├── extending.txt │ ├── internals.txt │ ├── creating-a-site.txt │ ├── path_handlers.txt │ ├── social_buttons.txt │ ├── creating-a-theme.txt │ ├── requirements-docs.txt │ ├── modules.txt │ ├── nikola.packages.datecond.txt │ ├── nikola.plugins.command.auto.txt │ ├── nikola.plugins.task.sitemap.txt │ ├── nikola.plugins.command.rst2html.txt │ ├── nikola.packages.txt │ ├── nikola.plugins.misc.txt │ ├── index.txt │ ├── nikola.plugins.txt │ └── nikola.plugins.template.txt ├── man │ └── nikola.1.gz └── architecture │ └── nikola-architecture-draw-io.png ├── nikola ├── data │ ├── shortcodes │ │ ├── mako │ │ │ └── raw.tmpl │ │ └── jinja │ │ │ └── raw.tmpl │ ├── themes │ │ ├── base │ │ │ ├── engine │ │ │ ├── messages │ │ │ │ └── messages_cz.py │ │ │ ├── assets │ │ │ │ └── js │ │ │ │ │ ├── moment-with-locales.min.js │ │ │ │ │ └── fancydates.js │ │ │ ├── bundles │ │ │ ├── README.md │ │ │ └── templates │ │ │ │ ├── comments_helper_mustache.tmpl │ │ │ │ ├── base_footer.tmpl │ │ │ │ ├── comments_helper_muut.tmpl │ │ │ │ ├── crumbs.tmpl │ │ │ │ ├── authors.tmpl │ │ │ │ ├── list.tmpl │ │ │ │ ├── comments_helper_googleplus.tmpl │ │ │ │ ├── post_list_directive.tmpl │ │ │ │ ├── annotation_helper.tmpl │ │ │ │ ├── authorindex.tmpl │ │ │ │ ├── archiveindex.tmpl │ │ │ │ └── list_post.tmpl │ │ ├── base-jinja │ │ │ ├── engine │ │ │ ├── parent │ │ │ ├── AUTHORS.txt │ │ │ ├── README.md │ │ │ └── templates │ │ │ │ ├── comments_helper_mustache.tmpl │ │ │ │ ├── base_footer.tmpl │ │ │ │ ├── comments_helper_muut.tmpl │ │ │ │ ├── authors.tmpl │ │ │ │ ├── crumbs.tmpl │ │ │ │ ├── list.tmpl │ │ │ │ ├── annotation_helper.tmpl │ │ │ │ ├── comments_helper_googleplus.tmpl │ │ │ │ ├── post_list_directive.tmpl │ │ │ │ ├── authorindex.tmpl │ │ │ │ ├── archiveindex.tmpl │ │ │ │ └── list_post.tmpl │ │ ├── bootstrap3 │ │ │ ├── engine │ │ │ ├── parent │ │ │ ├── assets │ │ │ │ ├── js │ │ │ │ │ ├── jquery.js │ │ │ │ │ ├── jquery.min.js │ │ │ │ │ ├── bootstrap.js │ │ │ │ │ ├── jquery.min.map │ │ │ │ │ ├── bootstrap.min.js │ │ │ │ │ ├── jquery.colorbox.js │ │ │ │ │ ├── jquery.colorbox-min.js │ │ │ │ │ └── colorbox-i18n │ │ │ │ │ │ ├── jquery.colorbox-ar.js │ │ │ │ │ │ ├── jquery.colorbox-bg.js │ │ │ │ │ │ ├── jquery.colorbox-bn.js │ │ │ │ │ │ ├── jquery.colorbox-ca.js │ │ │ │ │ │ ├── jquery.colorbox-cs.js │ │ │ │ │ │ ├── jquery.colorbox-da.js │ │ │ │ │ │ ├── jquery.colorbox-de.js │ │ │ │ │ │ ├── jquery.colorbox-es.js │ │ │ │ │ │ ├── jquery.colorbox-et.js │ │ │ │ │ │ ├── jquery.colorbox-fa.js │ │ │ │ │ │ ├── jquery.colorbox-fi.js │ │ │ │ │ │ ├── jquery.colorbox-fr.js │ │ │ │ │ │ ├── jquery.colorbox-gl.js │ │ │ │ │ │ ├── jquery.colorbox-gr.js │ │ │ │ │ │ ├── jquery.colorbox-he.js │ │ │ │ │ │ ├── jquery.colorbox-hr.js │ │ │ │ │ │ ├── jquery.colorbox-hu.js │ │ │ │ │ │ ├── jquery.colorbox-id.js │ │ │ │ │ │ ├── jquery.colorbox-it.js │ │ │ │ │ │ ├── jquery.colorbox-ja.js │ │ │ │ │ │ ├── jquery.colorbox-kr.js │ │ │ │ │ │ ├── jquery.colorbox-lt.js │ │ │ │ │ │ ├── jquery.colorbox-lv.js │ │ │ │ │ │ ├── jquery.colorbox-my.js │ │ │ │ │ │ ├── jquery.colorbox-nl.js │ │ │ │ │ │ ├── jquery.colorbox-no.js │ │ │ │ │ │ ├── jquery.colorbox-pl.js │ │ │ │ │ │ ├── jquery.colorbox-ro.js │ │ │ │ │ │ ├── jquery.colorbox-ru.js │ │ │ │ │ │ ├── jquery.colorbox-si.js │ │ │ │ │ │ ├── jquery.colorbox-sk.js │ │ │ │ │ │ ├── jquery.colorbox-sr.js │ │ │ │ │ │ ├── jquery.colorbox-sv.js │ │ │ │ │ │ ├── jquery.colorbox-tr.js │ │ │ │ │ │ ├── jquery.colorbox-uk.js │ │ │ │ │ │ ├── jquery.colorbox-pt-BR.js │ │ │ │ │ │ ├── jquery.colorbox-zh-CN.js │ │ │ │ │ │ └── jquery.colorbox-zh-TW.js │ │ │ │ ├── css │ │ │ │ │ ├── bootstrap.css │ │ │ │ │ ├── colorbox.css │ │ │ │ │ ├── bootstrap-theme.css │ │ │ │ │ ├── bootstrap.css.map │ │ │ │ │ ├── bootstrap.min.css │ │ │ │ │ ├── bootstrap.min.css.map │ │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ │ ├── images │ │ │ │ │ │ ├── controls.png │ │ │ │ │ │ ├── loading.gif │ │ │ │ │ │ └── ie6 │ │ │ │ │ │ │ ├── borderTopLeft.png │ │ │ │ │ │ │ ├── borderBottomLeft.png │ │ │ │ │ │ │ ├── borderMiddleLeft.png │ │ │ │ │ │ │ ├── borderTopCenter.png │ │ │ │ │ │ │ ├── borderTopRight.png │ │ │ │ │ │ │ ├── borderBottomCenter.png │ │ │ │ │ │ │ ├── borderBottomRight.png │ │ │ │ │ │ │ └── borderMiddleRight.png │ │ │ │ │ └── bootstrap-theme.min.css.map │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── bundles │ │ │ ├── README.md │ │ │ └── templates │ │ │ │ └── authors.tmpl │ │ └── bootstrap3-jinja │ │ │ ├── engine │ │ │ ├── parent │ │ │ ├── bundles │ │ │ ├── AUTHORS.txt │ │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── jquery.js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── jquery.min.js │ │ │ │ ├── jquery.min.map │ │ │ │ ├── bootstrap.min.js │ │ │ │ ├── jquery.colorbox.js │ │ │ │ ├── jquery.colorbox-min.js │ │ │ │ └── colorbox-i18n │ │ │ │ │ ├── jquery.colorbox-ar.js │ │ │ │ │ ├── jquery.colorbox-bg.js │ │ │ │ │ ├── jquery.colorbox-bn.js │ │ │ │ │ ├── jquery.colorbox-ca.js │ │ │ │ │ ├── jquery.colorbox-cs.js │ │ │ │ │ ├── jquery.colorbox-da.js │ │ │ │ │ ├── jquery.colorbox-de.js │ │ │ │ │ ├── jquery.colorbox-es.js │ │ │ │ │ ├── jquery.colorbox-et.js │ │ │ │ │ ├── jquery.colorbox-fa.js │ │ │ │ │ ├── jquery.colorbox-fi.js │ │ │ │ │ ├── jquery.colorbox-fr.js │ │ │ │ │ ├── jquery.colorbox-gl.js │ │ │ │ │ ├── jquery.colorbox-gr.js │ │ │ │ │ ├── jquery.colorbox-he.js │ │ │ │ │ ├── jquery.colorbox-hr.js │ │ │ │ │ ├── jquery.colorbox-hu.js │ │ │ │ │ ├── jquery.colorbox-id.js │ │ │ │ │ ├── jquery.colorbox-it.js │ │ │ │ │ ├── jquery.colorbox-ja.js │ │ │ │ │ ├── jquery.colorbox-kr.js │ │ │ │ │ ├── jquery.colorbox-lt.js │ │ │ │ │ ├── jquery.colorbox-lv.js │ │ │ │ │ ├── jquery.colorbox-my.js │ │ │ │ │ ├── jquery.colorbox-nl.js │ │ │ │ │ ├── jquery.colorbox-no.js │ │ │ │ │ ├── jquery.colorbox-pl.js │ │ │ │ │ ├── jquery.colorbox-ro.js │ │ │ │ │ ├── jquery.colorbox-ru.js │ │ │ │ │ ├── jquery.colorbox-si.js │ │ │ │ │ ├── jquery.colorbox-sk.js │ │ │ │ │ ├── jquery.colorbox-sr.js │ │ │ │ │ ├── jquery.colorbox-sv.js │ │ │ │ │ ├── jquery.colorbox-tr.js │ │ │ │ │ ├── jquery.colorbox-uk.js │ │ │ │ │ ├── jquery.colorbox-pt-BR.js │ │ │ │ │ ├── jquery.colorbox-zh-CN.js │ │ │ │ │ └── jquery.colorbox-zh-TW.js │ │ │ ├── css │ │ │ │ ├── bootstrap.css │ │ │ │ ├── colorbox.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ ├── bootstrap.min.css.map │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── images │ │ │ │ │ ├── controls.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ └── ie6 │ │ │ │ │ │ ├── borderTopCenter.png │ │ │ │ │ │ ├── borderTopLeft.png │ │ │ │ │ │ ├── borderTopRight.png │ │ │ │ │ │ ├── borderBottomLeft.png │ │ │ │ │ │ ├── borderBottomRight.png │ │ │ │ │ │ ├── borderMiddleLeft.png │ │ │ │ │ │ ├── borderMiddleRight.png │ │ │ │ │ │ └── borderBottomCenter.png │ │ │ │ └── bootstrap-theme.min.css.map │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── README.md │ │ │ └── templates │ │ │ └── authors.tmpl │ ├── symlink-test-link.txt │ ├── samplesite │ │ ├── galleries │ │ │ └── demo │ │ │ │ ├── exclude.meta │ │ │ │ ├── tesla2_lg.jpg │ │ │ │ ├── tesla4_lg.jpg │ │ │ │ ├── tesla_tower1_lg.jpg │ │ │ │ ├── tesla_conducts_lg.jpg │ │ │ │ ├── tesla_lightning1_lg.jpg │ │ │ │ ├── tesla_lightning2_lg.jpg │ │ │ │ └── index.txt │ │ ├── pages │ │ │ ├── manual.rst │ │ │ ├── theming.rst │ │ │ ├── extending.txt │ │ │ ├── internals.txt │ │ │ ├── path_handlers.txt │ │ │ ├── social_buttons.txt │ │ │ ├── creating-a-theme.rst │ │ │ ├── listings-demo.rst │ │ │ ├── 1.rst │ │ │ └── slides-demo.rst │ │ ├── files │ │ │ ├── favicon.ico │ │ │ └── images │ │ │ │ └── nikola.png │ │ ├── images │ │ │ ├── illus_001.jpg │ │ │ └── frontispiece.jpg │ │ ├── listings │ │ │ └── hello.py │ │ └── README.txt │ └── symlink-test-orig.txt ├── packages │ ├── __init__.py │ ├── README.md │ └── tzlocal │ │ └── __init__.py └── plugins │ ├── command │ ├── auto │ │ └── livereload.js │ ├── rst2html │ │ └── rst2html.tmpl │ ├── deploy.plugin │ ├── init.plugin │ ├── serve.plugin │ ├── status.plugin │ ├── check.plugin │ ├── new_post.plugin │ ├── version.plugin │ ├── orphans.plugin │ ├── theme.plugin │ ├── new_page.plugin │ ├── plugin.plugin │ ├── console.plugin │ ├── github_deploy.plugin │ ├── install_theme.plugin │ ├── rst2html.plugin │ ├── auto.plugin │ ├── import_wordpress.plugin │ └── bootswatch_theme.plugin │ ├── __init__.py │ ├── compile │ ├── rest │ │ ├── template.txt │ │ ├── vimeo.plugin │ │ ├── youtube.plugin │ │ ├── gist.plugin │ │ ├── slides.plugin │ │ ├── chart.plugin │ │ ├── listing.plugin │ │ ├── soundcloud.plugin │ │ ├── doc.plugin │ │ ├── media.plugin │ │ ├── post_list.plugin │ │ └── thumbnail.plugin │ ├── html.plugin │ ├── rest.plugin │ ├── markdown.plugin │ ├── pandoc.plugin │ ├── php.plugin │ ├── markdown │ │ ├── mdx_gist.plugin │ │ ├── mdx_nikola.plugin │ │ └── mdx_podcast.plugin │ └── ipynb.plugin │ ├── misc │ └── scan_posts.plugin │ ├── task │ ├── authors.plugin │ ├── rss.plugin │ ├── gzip.plugin │ ├── pages.plugin │ ├── redirect.plugin │ ├── sitemap.plugin │ ├── tags.plugin │ ├── bundles.plugin │ ├── posts.plugin │ ├── archive.plugin │ ├── copy_assets.plugin │ ├── copy_files.plugin │ ├── indexes.plugin │ ├── listings.plugin │ ├── py3_switch.plugin │ ├── sources.plugin │ ├── galleries.plugin │ ├── scale_images.plugin │ └── robots.plugin │ ├── shortcode │ └── gist.plugin │ └── template │ ├── mako.plugin │ └── jinja.plugin ├── tests ├── __init__.py ├── data │ └── translated_titles │ │ └── pages │ │ ├── 1.pl.txt │ │ └── 1.txt ├── conftest.py ├── test_commands.py └── test_plugin_importing.py ├── snapcraft ├── stable │ ├── build.sh │ ├── release.sh │ ├── nikola.png │ ├── requirements.txt │ └── script │ │ └── nikola.sh ├── edge │ ├── release.sh │ ├── nikola.png │ ├── build.sh │ ├── requirements.txt │ └── script │ │ └── nikola.sh ├── nikola.png ├── build.sh ├── nikola.py ├── nikola.sh └── requirements.txt ├── bower_components ├── jquery │ ├── src │ │ ├── outro.js │ │ ├── selector.js │ │ ├── var │ │ │ ├── deletedIds.js │ │ │ ├── rnotwhite.js │ │ │ ├── document.js │ │ │ ├── class2type.js │ │ │ ├── pnum.js │ │ │ ├── push.js │ │ │ ├── concat.js │ │ │ ├── slice.js │ │ │ ├── indexOf.js │ │ │ ├── toString.js │ │ │ ├── hasOwn.js │ │ │ ├── documentElement.js │ │ │ ├── support.js │ │ │ └── rcssNum.js │ │ ├── ajax │ │ │ └── var │ │ │ │ ├── rquery.js │ │ │ │ ├── location.js │ │ │ │ └── nonce.js │ │ ├── css │ │ │ ├── var │ │ │ │ ├── rmargin.js │ │ │ │ ├── cssExpand.js │ │ │ │ ├── rnumnonpx.js │ │ │ │ ├── isHidden.js │ │ │ │ └── swap.js │ │ │ └── addGetHookIf.js │ │ ├── manipulation │ │ │ ├── var │ │ │ │ ├── rtagName.js │ │ │ │ ├── rleadingWhitespace.js │ │ │ │ ├── rcheckableType.js │ │ │ │ ├── rscriptType.js │ │ │ │ └── nodeNames.js │ │ │ ├── _evalUrl.js │ │ │ ├── setGlobalEval.js │ │ │ └── createSafeFragment.js │ │ ├── core │ │ │ └── var │ │ │ │ └── rsingleTag.js │ │ ├── traversing │ │ │ └── var │ │ │ │ ├── rneedsContext.js │ │ │ │ ├── siblings.js │ │ │ │ └── dir.js │ │ ├── attributes.js │ │ ├── effects │ │ │ └── animatedSelector.js │ │ ├── selector-sizzle.js │ │ ├── event │ │ │ └── ajax.js │ │ ├── data │ │ │ ├── support.js │ │ │ └── var │ │ │ │ └── acceptData.js │ │ ├── .jshintrc │ │ ├── exports │ │ │ └── global.js │ │ └── queue │ │ │ └── delay.js │ ├── bower.json │ └── .bower.json ├── moment │ ├── src │ │ └── lib │ │ │ ├── locale │ │ │ ├── constructor.js │ │ │ ├── pre-post-format.js │ │ │ ├── invalid.js │ │ │ ├── ordinal.js │ │ │ ├── calendar.js │ │ │ ├── en.js │ │ │ ├── set.js │ │ │ └── formats.js │ │ │ ├── moment │ │ │ ├── clone.js │ │ │ ├── valid.js │ │ │ ├── to.js │ │ │ ├── from.js │ │ │ └── moment.js │ │ │ ├── utils │ │ │ ├── has-own-prop.js │ │ │ ├── is-array.js │ │ │ ├── is-date.js │ │ │ ├── map.js │ │ │ ├── abs-ceil.js │ │ │ ├── abs-floor.js │ │ │ ├── defaults.js │ │ │ ├── to-int.js │ │ │ ├── zero-fill.js │ │ │ ├── hooks.js │ │ │ ├── extend.js │ │ │ └── compare-arrays.js │ │ │ ├── units │ │ │ ├── constants.js │ │ │ ├── timezone.js │ │ │ ├── units.js │ │ │ ├── timestamp.js │ │ │ ├── minute.js │ │ │ └── second.js │ │ │ ├── create │ │ │ ├── local.js │ │ │ ├── utc.js │ │ │ ├── from-object.js │ │ │ ├── date-from-array.js │ │ │ └── parsing-flags.js │ │ │ └── duration │ │ │ ├── duration.js │ │ │ └── abs.js │ ├── templates │ │ ├── globals.js │ │ ├── amd.js │ │ ├── amd-named.js │ │ ├── locale-header.js │ │ └── test-header.js │ └── bower.json ├── jquery-colorbox │ ├── example1 │ │ └── images │ │ │ ├── border.png │ │ │ ├── controls.png │ │ │ ├── loading.gif │ │ │ ├── overlay.png │ │ │ └── loading_background.png │ ├── example5 │ │ └── images │ │ │ ├── border.png │ │ │ ├── controls.png │ │ │ ├── loading.gif │ │ │ └── loading_background.png │ ├── example2 │ │ └── images │ │ │ ├── controls.png │ │ │ └── loading.gif │ ├── example3 │ │ └── images │ │ │ ├── controls.png │ │ │ └── loading.gif │ ├── example4 │ │ └── images │ │ │ ├── border1.png │ │ │ ├── border2.png │ │ │ └── loading.gif │ └── i18n │ │ ├── jquery.colorbox-gl.js │ │ ├── jquery.colorbox-es.js │ │ ├── jquery.colorbox-ca.js │ │ ├── jquery.colorbox-zh-TW.js │ │ ├── jquery.colorbox-kr.js │ │ ├── jquery.colorbox-zh-CN.js │ │ ├── jquery.colorbox-ja.js │ │ ├── jquery.colorbox-et.js │ │ ├── jquery.colorbox-he.js │ │ ├── jquery.colorbox-ar.js │ │ ├── jquery.colorbox-id.js │ │ ├── jquery.colorbox-sv.js │ │ ├── jquery.colorbox-bn.js │ │ ├── jquery.colorbox-fi.js │ │ ├── jquery.colorbox-hu.js │ │ ├── jquery.colorbox-de.js │ │ ├── jquery.colorbox-nl.js │ │ ├── jquery.colorbox-sk.js │ │ ├── jquery.colorbox-da.js │ │ ├── jquery.colorbox-lt.js │ │ ├── jquery.colorbox-hr.js │ │ ├── jquery.colorbox-pt-BR.js │ │ ├── jquery.colorbox-cs.js │ │ ├── jquery.colorbox-it.js │ │ ├── jquery.colorbox-no.js │ │ ├── jquery.colorbox-si.js │ │ ├── jquery.colorbox-gr.js │ │ ├── jquery.colorbox-lv.js │ │ ├── jquery.colorbox-ru.js │ │ ├── jquery.colorbox-bg.js │ │ ├── jquery.colorbox-ro.js │ │ ├── jquery.colorbox-pl.js │ │ ├── jquery.colorbox-fr.js │ │ ├── jquery.colorbox-uk.js │ │ ├── jquery.colorbox-my.js │ │ ├── jquery.colorbox-sr.js │ │ ├── jquery.colorbox-tr.js │ │ └── jquery.colorbox-fa.js ├── bootstrap │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── Gemfile │ ├── dist │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ └── npm.js │ ├── grunt │ │ └── .jshintrc │ ├── less │ │ ├── mixins │ │ │ ├── center-block.less │ │ │ ├── size.less │ │ │ ├── opacity.less │ │ │ ├── text-emphasis.less │ │ │ ├── text-overflow.less │ │ │ ├── background-variant.less │ │ │ ├── labels.less │ │ │ ├── resize.less │ │ │ ├── progress-bar.less │ │ │ ├── nav-divider.less │ │ │ ├── reset-filter.less │ │ │ ├── alerts.less │ │ │ ├── tab-focus.less │ │ │ ├── nav-vertical-align.less │ │ │ ├── responsive-visibility.less │ │ │ ├── border-radius.less │ │ │ ├── reset-text.less │ │ │ ├── pagination.less │ │ │ ├── panels.less │ │ │ ├── hide-text.less │ │ │ ├── list-group.less │ │ │ └── clearfix.less │ │ ├── .csslintrc │ │ ├── wells.less │ │ └── breadcrumbs.less │ ├── js │ │ └── .jshintrc │ ├── CHANGELOG.md │ └── nuget │ │ └── MyGet.ps1 └── livereload-js │ └── bower.json ├── logo ├── favicon.png ├── nikola.png ├── nikola-50px-grey.png └── nikola-50px-transparent.png ├── setup.cfg ├── requirements-tests.txt ├── .tx └── config ├── translations ├── README.md └── nikola.messages │ └── README.md ├── MANIFEST.in ├── requirements-extras.txt ├── requirements.txt ├── .coveragerc ├── .gitignore └── bower.json /scripts/INTERNAL USE ONLY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/sphinx/manual.txt: -------------------------------------------------------------------------------- 1 | ../manual.txt -------------------------------------------------------------------------------- /docs/sphinx/theming.txt: -------------------------------------------------------------------------------- 1 | ../theming.txt -------------------------------------------------------------------------------- /docs/sphinx/extending.txt: -------------------------------------------------------------------------------- 1 | ../extending.txt -------------------------------------------------------------------------------- /docs/sphinx/internals.txt: -------------------------------------------------------------------------------- 1 | ../internals.txt -------------------------------------------------------------------------------- /nikola/data/shortcodes/mako/raw.tmpl: -------------------------------------------------------------------------------- 1 | ${data} -------------------------------------------------------------------------------- /nikola/data/themes/base/engine: -------------------------------------------------------------------------------- 1 | mako 2 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Tests for Nikola. 2 | -------------------------------------------------------------------------------- /nikola/data/shortcodes/jinja/raw.tmpl: -------------------------------------------------------------------------------- 1 | {{ data }} -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/engine: -------------------------------------------------------------------------------- 1 | jinja 2 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/parent: -------------------------------------------------------------------------------- 1 | base 2 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/engine: -------------------------------------------------------------------------------- 1 | mako 2 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/parent: -------------------------------------------------------------------------------- 1 | base 2 | -------------------------------------------------------------------------------- /docs/sphinx/creating-a-site.txt: -------------------------------------------------------------------------------- 1 | ../creating-a-site.txt -------------------------------------------------------------------------------- /docs/sphinx/path_handlers.txt: -------------------------------------------------------------------------------- 1 | ../path_handlers.txt -------------------------------------------------------------------------------- /docs/sphinx/social_buttons.txt: -------------------------------------------------------------------------------- 1 | ../social_buttons.txt -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/engine: -------------------------------------------------------------------------------- 1 | jinja 2 | -------------------------------------------------------------------------------- /docs/sphinx/creating-a-theme.txt: -------------------------------------------------------------------------------- 1 | ../creating-a-theme.txt -------------------------------------------------------------------------------- /nikola/data/symlink-test-link.txt: -------------------------------------------------------------------------------- 1 | symlink-test-orig.txt -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/parent: -------------------------------------------------------------------------------- 1 | base-jinja 2 | -------------------------------------------------------------------------------- /snapcraft/stable/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | snapcraft 3 | 4 | -------------------------------------------------------------------------------- /nikola/data/themes/base/messages/messages_cz.py: -------------------------------------------------------------------------------- 1 | messages_cs.py -------------------------------------------------------------------------------- /bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | return jQuery; 2 | })); 3 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/exclude.meta: -------------------------------------------------------------------------------- 1 | tesla2_lg.jpg 2 | -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/manual.rst: -------------------------------------------------------------------------------- 1 | ../../../../docs/manual.txt -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/theming.rst: -------------------------------------------------------------------------------- 1 | ../../../../docs/theming.txt -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/bundles: -------------------------------------------------------------------------------- 1 | ../bootstrap3/bundles -------------------------------------------------------------------------------- /docs/sphinx/requirements-docs.txt: -------------------------------------------------------------------------------- 1 | -r ../../requirements-extras.txt 2 | -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/extending.txt: -------------------------------------------------------------------------------- 1 | ../../../../docs/extending.txt -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/internals.txt: -------------------------------------------------------------------------------- 1 | ../../../../docs/internals.txt -------------------------------------------------------------------------------- /nikola/packages/__init__.py: -------------------------------------------------------------------------------- 1 | """Third-party packages for Nikola.""" 2 | -------------------------------------------------------------------------------- /logo/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/logo/favicon.png -------------------------------------------------------------------------------- /logo/nikola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/logo/nikola.png -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/path_handlers.txt: -------------------------------------------------------------------------------- 1 | ../../../../docs/path_handlers.txt -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/social_buttons.txt: -------------------------------------------------------------------------------- 1 | ../../../../docs/social_buttons.txt -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/creating-a-theme.rst: -------------------------------------------------------------------------------- 1 | ../../../../docs/creating-a-theme.txt -------------------------------------------------------------------------------- /snapcraft/edge/release.sh: -------------------------------------------------------------------------------- 1 | snapcraft push nikola_master_amd64.snap --release edge 2 | -------------------------------------------------------------------------------- /bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define( [ "./selector-sizzle" ], function() {} ); 2 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/constructor.js: -------------------------------------------------------------------------------- 1 | export function Locale() { 2 | } 3 | -------------------------------------------------------------------------------- /docs/man/nikola.1.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/docs/man/nikola.1.gz -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Roberto Alsina 2 | -------------------------------------------------------------------------------- /snapcraft/nikola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/snapcraft/nikola.png -------------------------------------------------------------------------------- /tests/data/translated_titles/pages/1.pl.txt: -------------------------------------------------------------------------------- 1 | .. title: Bar 2 | .. slug: 1 3 | 4 | Bar 5 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/deletedIds.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Roberto Alsina 2 | -------------------------------------------------------------------------------- /snapcraft/stable/release.sh: -------------------------------------------------------------------------------- 1 | snapcraft push nikola_*_amd64.snap --release stable,beta,candidate 2 | -------------------------------------------------------------------------------- /bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\?/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\S+/g ); 3 | } ); 4 | -------------------------------------------------------------------------------- /logo/nikola-50px-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/logo/nikola-50px-grey.png -------------------------------------------------------------------------------- /nikola/plugins/command/auto/livereload.js: -------------------------------------------------------------------------------- 1 | ../../../../bower_components/livereload-js/dist/livereload.js -------------------------------------------------------------------------------- /snapcraft/edge/nikola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/snapcraft/edge/nikola.png -------------------------------------------------------------------------------- /snapcraft/stable/nikola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/snapcraft/stable/nikola.png -------------------------------------------------------------------------------- /bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^margin/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/document.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.document; 3 | } ); 4 | -------------------------------------------------------------------------------- /docs/sphinx/modules.txt: -------------------------------------------------------------------------------- 1 | nikola 2 | ====== 3 | 4 | .. toctree:: 5 | :maxdepth: 4 6 | 7 | nikola 8 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/jquery.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.js -------------------------------------------------------------------------------- /bower_components/jquery/src/ajax/var/location.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.location; 3 | } ); 4 | -------------------------------------------------------------------------------- /logo/nikola-50px-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/logo/nikola-50px-transparent.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/jquery.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/jquery.min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/js/bootstrap.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/jquery.min.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.min.map -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/var/rtagName.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /<([\w:-]+)/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/js/bootstrap.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/jquery.min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/jquery.min.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery/dist/jquery.min.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.css -------------------------------------------------------------------------------- /tests/data/translated_titles/pages/1.txt: -------------------------------------------------------------------------------- 1 | .. title: Foo 2 | .. slug: 1 3 | .. date: 2001/01/01 00:00:00 4 | 5 | Foo 6 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/var/rleadingWhitespace.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^\s+/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/colorbox.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/example3/colorbox.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/js/bootstrap.min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/jquery.colorbox.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/jquery.colorbox.js -------------------------------------------------------------------------------- /bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // [[Class]] -> type pairs 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/data/samplesite/files/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/files/favicon.ico -------------------------------------------------------------------------------- /nikola/data/themes/base/assets/js/moment-with-locales.min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/moment/min/moment-with-locales.min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/colorbox.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/example3/colorbox.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/js/bootstrap.min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/jquery.colorbox.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/jquery.colorbox.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap-theme.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap.min.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.min.css -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^(?:checkbox|radio)$/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/var/rscriptType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^$|\/(?:java|ecma)script/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 3 | } ); 4 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/pre-post-format.js: -------------------------------------------------------------------------------- 1 | export function preParsePostFormat (string) { 2 | return string; 3 | } 4 | -------------------------------------------------------------------------------- /nikola/data/samplesite/images/illus_001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/images/illus_001.jpg -------------------------------------------------------------------------------- /nikola/data/themes/base/bundles: -------------------------------------------------------------------------------- 1 | assets/css/all.css=rst.css,code.css,theme.css 2 | assets/css/all-nocdn.css=rst.css,code.css,theme.css 3 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap.min.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.min.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap.min.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.min.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/jquery.colorbox-min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/jquery.colorbox-min.js -------------------------------------------------------------------------------- /nikola/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """Plugins for Nikola.""" 4 | 5 | from __future__ import absolute_import 6 | -------------------------------------------------------------------------------- /bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./deletedIds" 3 | ], function( deletedIds ) { 4 | return deletedIds.push; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/data/samplesite/files/images/nikola.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/files/images/nikola.png -------------------------------------------------------------------------------- /nikola/data/samplesite/images/frontispiece.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/images/frontispiece.jpg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap-theme.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap.min.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap.min.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/jquery.colorbox-min.js: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/jquery-colorbox/jquery.colorbox-min.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap-theme.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.min.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/controls.png: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/example3/images/controls.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/loading.gif: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/example3/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./deletedIds" 3 | ], function( deletedIds ) { 4 | return deletedIds.concat; 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./deletedIds" 3 | ], function( deletedIds ) { 4 | return deletedIds.slice; 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/moment/templates/globals.js: -------------------------------------------------------------------------------- 1 | /*global window:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | window.moment = moment; 6 | -------------------------------------------------------------------------------- /docs/architecture/nikola-architecture-draw-io.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/docs/architecture/nikola-architecture-draw-io.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap-theme.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.min.css -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/controls.png: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/example3/images/controls.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/loading.gif: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/example3/images/loading.gif -------------------------------------------------------------------------------- /snapcraft/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | snapcraft 3 | cp nikola.py stage/usr/bin/nikola 4 | find prime/ -name '*.a' -exec rm {} \; 5 | snapcraft 6 | 7 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./deletedIds" 3 | ], function( deletedIds ) { 4 | return deletedIds.indexOf; 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla2_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla2_lg.jpg -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla4_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla4_lg.jpg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/bootstrap-theme.min.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.min.css.map -------------------------------------------------------------------------------- /bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/bootstrap-theme.min.css.map: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/css/bootstrap-theme.min.css.map -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-ar.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ar.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-bg.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-bg.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-bn.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-bn.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-ca.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ca.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-cs.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-cs.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-da.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-da.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-de.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-de.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-es.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-es.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-et.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-et.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-fa.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fa.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-fi.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fi.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-fr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-gl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-gl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-gr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-gr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-he.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-he.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-hr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-hr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-hu.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-hu.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-id.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-id.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-it.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-it.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-ja.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ja.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-kr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-kr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-lt.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-lt.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-lv.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-lv.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-my.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-my.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-nl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-nl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-no.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-no.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-pl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-pl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-ro.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ro.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-ru.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ru.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-si.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-si.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-sk.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sk.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-sr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-sv.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sv.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-tr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-tr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-uk.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-uk.js -------------------------------------------------------------------------------- /snapcraft/edge/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | snapcraft 3 | cp ../nikola.py prime/usr/bin/nikola 4 | find prime/ -name '*.a' -exec rm {} \; 5 | snapcraft 6 | 7 | -------------------------------------------------------------------------------- /bower_components/jquery/src/var/documentElement.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./document" 3 | ], function( document ) { 4 | return document.documentElement; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla_tower1_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla_tower1_lg.jpg -------------------------------------------------------------------------------- /nikola/data/symlink-test-orig.txt: -------------------------------------------------------------------------------- 1 | NIKOLA_SYMLINKS=OK 2 | 3 | This is a test file for symlink detection, used to test compatibility with 4 | Microsoft Windows. 5 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-ar.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ar.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-bg.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-bg.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-bn.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-bn.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-ca.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ca.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-cs.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-cs.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-da.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-da.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-de.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-de.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-es.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-es.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-et.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-et.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-fa.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fa.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-fi.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fi.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-fr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-fr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-gl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-gl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-gr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-gr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-he.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-he.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-hr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-hr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-hu.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-hu.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-id.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-id.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-it.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-it.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-ja.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ja.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-kr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-kr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-lt.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-lt.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-lv.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-lv.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-my.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-my.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-nl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-nl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-no.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-no.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-pl.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-pl.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-ro.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ro.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-ru.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-ru.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-si.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-si.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-sk.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sk.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-sr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-sv.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-sv.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-tr.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-tr.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-uk.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-uk.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-pt-BR.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-pt-BR.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-zh-CN.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-CN.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/js/colorbox-i18n/jquery.colorbox-zh-TW.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-TW.js -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example1/images/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example1/images/border.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example5/images/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example5/images/border.png -------------------------------------------------------------------------------- /bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // All support tests are defined in their respective modules. 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/moment/clone.js: -------------------------------------------------------------------------------- 1 | import { Moment } from './constructor'; 2 | 3 | export function clone () { 4 | return new Moment(this); 5 | } 6 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/has-own-prop.js: -------------------------------------------------------------------------------- 1 | export default function hasOwnProp(a, b) { 2 | return Object.prototype.hasOwnProperty.call(a, b); 3 | } 4 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla_conducts_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla_conducts_lg.jpg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-pt-BR.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-pt-BR.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-zh-CN.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-CN.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/js/colorbox-i18n/jquery.colorbox-zh-TW.js: -------------------------------------------------------------------------------- 1 | ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-TW.js -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example1/images/controls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example1/images/controls.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example1/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example1/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example1/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example1/images/overlay.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example2/images/controls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example2/images/controls.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example2/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example2/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example3/images/controls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example3/images/controls.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example3/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example3/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example4/images/border1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example4/images/border1.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example4/images/border2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example4/images/border2.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example4/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example4/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example5/images/controls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example5/images/controls.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example5/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example5/images/loading.gif -------------------------------------------------------------------------------- /bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // Match a standalone tag 4 | return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/moment/templates/amd.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define([], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla_lightning1_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla_lightning1_lg.jpg -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/tesla_lightning2_lg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/samplesite/galleries/demo/tesla_lightning2_lg.jpg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- 1 | ../../../../../../bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/is-array.js: -------------------------------------------------------------------------------- 1 | export default function isArray(input) { 2 | return Object.prototype.toString.call(input) === '[object Array]'; 3 | } 4 | -------------------------------------------------------------------------------- /bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | } ); 6 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/invalid.js: -------------------------------------------------------------------------------- 1 | export var defaultInvalidDate = 'Invalid date'; 2 | 3 | export function invalidDate () { 4 | return this._invalidDate; 5 | } 6 | -------------------------------------------------------------------------------- /bower_components/bootstrap/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | group :development, :test do 4 | gem 'jekyll', '~> 3.1.2' 5 | gem 'jekyll-sitemap', '~> 0.11.0' 6 | end 7 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopLeft.png -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/template.txt: -------------------------------------------------------------------------------- 1 | %(head_prefix)s 2 | %(head)s 3 | %(stylesheet)s 4 | %(body_prefix)s 5 | %(body_pre_docinfo)s 6 | %(docinfo)s 7 | %(body)s 8 | %(body_suffix)s 9 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [wheel] 2 | universal = 1 3 | 4 | [flake8] 5 | ignore=E501 6 | 7 | [tool:pytest] 8 | norecursedirs = .git 9 | addopts = --cov nikola --cov-report term-missing 10 | -------------------------------------------------------------------------------- /bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /bower_components/bootstrap/grunt/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends" : "../js/.jshintrc", 3 | "asi" : false, 4 | "browser" : false, 5 | "es3" : false, 6 | "node" : true 7 | } 8 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example1/images/loading_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example1/images/loading_background.png -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/example5/images/loading_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/bower_components/jquery-colorbox/example5/images/loading_background.png -------------------------------------------------------------------------------- /bower_components/jquery/src/var/rcssNum.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/pnum" 3 | ], function( pnum ) { 4 | 5 | return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6 | 7 | } ); 8 | -------------------------------------------------------------------------------- /bower_components/moment/templates/amd-named.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define("moment", [], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomLeft.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderMiddleLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderMiddleLeft.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopCenter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopCenter.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderTopRight.png -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- 1 | import os 2 | import pytest 3 | 4 | 5 | @pytest.yield_fixture(autouse=True) 6 | def ensure_chdir(): 7 | x = os.getcwd() 8 | yield 9 | os.chdir(x) 10 | -------------------------------------------------------------------------------- /bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | } ); 7 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/is-date.js: -------------------------------------------------------------------------------- 1 | export default function isDate(input) { 2 | return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; 3 | } 4 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomCenter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomCenter.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderBottomRight.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/assets/css/images/ie6/borderMiddleRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3/assets/css/images/ie6/borderMiddleRight.png -------------------------------------------------------------------------------- /requirements-tests.txt: -------------------------------------------------------------------------------- 1 | -r requirements-extras.txt 2 | mock==2.0.0 3 | coverage==4.2 4 | pytest==3.0.3 5 | pytest-cov==2.4.0 6 | freezegun==0.3.7 7 | python-coveralls==2.9.0 8 | colorama>=0.3.4 9 | -------------------------------------------------------------------------------- /nikola/data/samplesite/galleries/demo/index.txt: -------------------------------------------------------------------------------- 1 | .. title: Nikola Tesla 2 | 3 | Some public domain pictures of Nikola Tesla 4 | (copied from `here `_) 5 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopCenter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopCenter.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopLeft.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderTopRight.png -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomLeft.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomRight.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderMiddleLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderMiddleLeft.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderMiddleRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderMiddleRight.png -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomCenter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/font/nikola/master/nikola/data/themes/bootstrap3-jinja/assets/css/images/ie6/borderBottomCenter.png -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [nikola.messages] 5 | file_filter = translations/nikola.messages/.po 6 | source_file = translations/nikola.messages/en.po 7 | source_lang = en 8 | 9 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/map.js: -------------------------------------------------------------------------------- 1 | export default function map(arr, fn) { 2 | var res = [], i; 3 | for (i = 0; i < arr.length; ++i) { 4 | res.push(fn(arr[i], i)); 5 | } 6 | return res; 7 | } 8 | -------------------------------------------------------------------------------- /nikola/data/themes/base/README.md: -------------------------------------------------------------------------------- 1 | This theme has almost no styling, it's meant as a basis from which other 2 | themes can be developed. 3 | 4 | Therefore, most "advanced" features, such as slides or galleries, are broken. 5 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover, 6 | a&:focus { 7 | color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/abs-ceil.js: -------------------------------------------------------------------------------- 1 | export default function absCeil (number) { 2 | if (number < 0) { 3 | return Math.floor(number); 4 | } else { 5 | return Math.ceil(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/README.md: -------------------------------------------------------------------------------- 1 | This theme has almost no styling, it's meant as a basis from which other 2 | themes can be developed. 3 | 4 | Therefore, most "advanced" features, such as slides or galleries, are broken. 5 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/constants.js: -------------------------------------------------------------------------------- 1 | export var YEAR = 0; 2 | export var MONTH = 1; 3 | export var DATE = 2; 4 | export var HOUR = 3; 5 | export var MINUTE = 4; 6 | export var SECOND = 5; 7 | export var MILLISECOND = 6; 8 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/abs-floor.js: -------------------------------------------------------------------------------- 1 | export default function absFloor (number) { 2 | if (number < 0) { 3 | return Math.ceil(number); 4 | } else { 5 | return Math.floor(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /translations/README.md: -------------------------------------------------------------------------------- 1 | # Nikola translations 2 | 3 | Translations for Nikola are handled on Transifex. Please direct all new languages and changes to existing ones there: 4 | 5 | https://www.transifex.com/ralsina/nikola/dashboard/ 6 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/ordinal.js: -------------------------------------------------------------------------------- 1 | export var defaultOrdinal = '%d'; 2 | export var defaultOrdinalParse = /\d{1,2}/; 3 | 4 | export function ordinal (number) { 5 | return this._ordinal.replace('%d', number); 6 | } 7 | 8 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/vimeo.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_vimeo 3 | module = vimeo 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | description = Vimeo directive 11 | 12 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/create/local.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createLocal (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, false); 5 | } 6 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/create/utc.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createUTC (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, true).utc(); 5 | } 6 | -------------------------------------------------------------------------------- /nikola/plugins/command/rst2html/rst2html.tmpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | ${output} 12 | 13 | 14 | -------------------------------------------------------------------------------- /translations/nikola.messages/README.md: -------------------------------------------------------------------------------- 1 | # Nikola translations 2 | 3 | Translations for Nikola are handled on Transifex. Please direct all new languages and changes to existing ones there: 4 | 5 | https://www.transifex.com/ralsina/nikola/dashboard/ 6 | -------------------------------------------------------------------------------- /nikola/data/samplesite/listings/hello.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys 4 | 5 | 6 | def hello(name='world'): 7 | greeting = "hello " + name 8 | print(greeting) 9 | 10 | if __name__ == "__main__": 11 | hello(*sys.argv[1:]) 12 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover, 6 | a&:focus { 7 | background-color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /nikola/plugins/misc/scan_posts.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = scan_posts 3 | Module = scan_posts 4 | 5 | [Documentation] 6 | Author = Roberto Alsina 7 | Version = 1.0 8 | Website = https://getnikola.com/ 9 | Description = Scan posts and create timeline 10 | 11 | -------------------------------------------------------------------------------- /nikola/plugins/task/authors.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = render_authors 3 | Module = authors 4 | 5 | [Documentation] 6 | Author = Juanjo Conti 7 | Version = 0.1 8 | Website = http://getnikola.com 9 | Description = Render the author pages and feeds. 10 | 11 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/youtube.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_youtube 3 | module = youtube 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | version = 0.1 11 | description = Youtube directive 12 | 13 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | graft bower_components 2 | graft docs 3 | graft logo 4 | graft nikola 5 | graft scripts 6 | graft tests 7 | graft translations 8 | include *.txt 9 | include *.rst 10 | include *.py 11 | global-exclude *.pyc 12 | global-exclude *.pyo 13 | global-exclude *.pyd 14 | -------------------------------------------------------------------------------- /bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ] 14 | } -------------------------------------------------------------------------------- /docs/sphinx/nikola.packages.datecond.txt: -------------------------------------------------------------------------------- 1 | nikola.packages.datecond package 2 | ================================ 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: nikola.packages.datecond 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /nikola/plugins/command/deploy.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = deploy 3 | module = deploy 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Deploy the site 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/init.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = init 3 | module = init 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create a new site. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/serve.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = serve 3 | module = serve 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Start test server. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/shortcode/gist.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = gist 3 | module = gist 4 | 5 | [Nikola] 6 | plugincategory = Shortcode 7 | 8 | [Documentation] 9 | author = Roberto Alsina 10 | version = 0.1 11 | website = https://getnikola.com/ 12 | description = Gist shortcode 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/rss.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = generate_rss 3 | module = rss 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Generate RSS feeds. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/comments_helper_mustache.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%namespace name="comments" file="comments_helper.tmpl"/> 3 | % if not post.meta('nocomments'): 4 | ${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)} 5 | % endif 6 | -------------------------------------------------------------------------------- /nikola/packages/README.md: -------------------------------------------------------------------------------- 1 | We ship some third-party things with Nikola. They live here, along with their licenses. 2 | 3 | Packages: 4 | 5 | * tzlocal by Lennart Regebro, CC0 license (modified) 6 | * datecond by Chris Warrick (Nikola contributor), 3-clause BSD license 7 | (modified) 8 | -------------------------------------------------------------------------------- /nikola/plugins/command/status.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = status 3 | module = status 4 | 5 | [Documentation] 6 | author = Daniel Aleksandersen 7 | version = 1.0 8 | website = https://getnikola.com 9 | description = Site status 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/gzip.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = gzip 3 | module = gzip 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create gzipped copies of files 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /scripts/getwheelhouse.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | for i in $@; do 3 | wget https://github.com/getnikola/wheelhouse/archive/v$i'.zip' 4 | unzip 'v'$i'.zip' 5 | pip install --use-wheel --no-index --find-links=wheelhouse-$i lxml Pillow ipython 6 | rm -rf wheelhouse-$i 'v'$i'.zip' 7 | done 8 | -------------------------------------------------------------------------------- /bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./attributes/val", 4 | "./attributes/attr", 5 | "./attributes/prop", 6 | "./attributes/classes" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | } ); 12 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/defaults.js: -------------------------------------------------------------------------------- 1 | // Pick the first defined of two or three arguments. 2 | export default function defaults(a, b, c) { 3 | if (a != null) { 4 | return a; 5 | } 6 | if (b != null) { 7 | return b; 8 | } 9 | return c; 10 | } 11 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.command.auto.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins.command.auto package 2 | =================================== 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: nikola.plugins.command.auto 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.task.sitemap.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins.task.sitemap package 2 | =================================== 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: nikola.plugins.task.sitemap 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /nikola/plugins/command/check.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = check 3 | module = check 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Check the generated site 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/new_post.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = new_post 3 | module = new_post 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create a new post. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/version.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = version 3 | module = version 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Show nikola version 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/pages.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_pages 3 | module = pages 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create pages in the output. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/redirect.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = redirect 3 | module = redirect 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create redirect pages. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/sitemap.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = sitemap 3 | module = sitemap 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Generate google sitemap. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/template/mako.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = mako 3 | module = mako 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Support for Mako templates. 10 | 11 | [Nikola] 12 | plugincategory = Template 13 | 14 | -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/listings-demo.rst: -------------------------------------------------------------------------------- 1 | .. title: Listings Demo 2 | .. slug: listings-demo 3 | .. date: 2012-12-15 10:16:20 UTC-03:00 4 | .. tags: 5 | .. link: 6 | .. description: 7 | 8 | Nikola intends to let you show code easily via listings: 9 | 10 | .. listing:: hello.py python 11 | -------------------------------------------------------------------------------- /nikola/plugins/task/tags.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_tags 3 | module = tags 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Render the tag pages and feeds. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/template/jinja.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = jinja 3 | module = jinja 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Support for Jinja2 templates. 10 | 11 | [Nikola] 12 | plugincategory = Template 13 | 14 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/var/nodeNames.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + 3 | "details|dialog|figcaption|figure|footer|header|hgroup|main|" + 4 | "mark|meter|nav|output|picture|progress|section|summary|template|time|video"; 5 | } ); 6 | -------------------------------------------------------------------------------- /nikola/plugins/command/orphans.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = orphans 3 | module = orphans 4 | 5 | [Documentation] 6 | author = Roberto Alsina, Chris Warrick 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = List all orphans 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/theme.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = theme 3 | module = theme 4 | 5 | [Documentation] 6 | author = Roberto Alsina and Chris Warrick 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Manage Nikola themes 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/bundles.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = create_bundles 3 | module = bundles 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Theme bundles using WebAssets 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/posts.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_posts 3 | module = posts 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create HTML fragments out of posts. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.command.rst2html.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins.command.rst2html package 2 | ======================================= 3 | 4 | Module contents 5 | --------------- 6 | 7 | .. automodule:: nikola.plugins.command.rst2html 8 | :members: 9 | :undoc-members: 10 | :show-inheritance: 11 | -------------------------------------------------------------------------------- /nikola/plugins/command/new_page.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = new_page 3 | module = new_page 4 | 5 | [Documentation] 6 | author = Roberto Alsina, Chris Warrick 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create a new page. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/plugin.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = plugin 3 | module = plugin 4 | 5 | [Documentation] 6 | author = Roberto Alsina and Chris Warrick 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Manage Nikola plugins 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/archive.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_archive 3 | module = archive 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Generates the blog's archive pages. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/copy_assets.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = copy_assets 3 | module = copy_assets 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Copy theme assets into output. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/copy_files.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = copy_files 3 | module = copy_files 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Copy static files into the output. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/indexes.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_indexes 3 | module = indexes 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Generates the blog's index pages. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/listings.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_listings 3 | module = listings 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Render code listings into output 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/py3_switch.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = py3_switch 3 | module = py3_switch 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Beg the user to switch to Python 3 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/sources.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_sources 3 | module = sources 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Copy page sources into the output. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/comments_helper_mustache.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% import 'comments_helper.tmpl' as comments with context %} 3 | {% if not post.meta('nocomments') %} 4 | {{ comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path) }} 5 | {% endif %} 6 | -------------------------------------------------------------------------------- /nikola/plugins/command/console.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = console 3 | module = console 4 | 5 | [Documentation] 6 | author = Chris Warrick, Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Start a debugging python console 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/html.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = html 3 | module = html 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile HTML into HTML (just copy) 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = HTML 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest 3 | module = rest 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile reSt into HTML 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = reStructuredText 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/gist.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_gist 3 | module = gist 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Gist directive 14 | 15 | -------------------------------------------------------------------------------- /nikola/plugins/task/galleries.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = render_galleries 3 | module = galleries 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create image galleries automatically. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /bower_components/jquery/src/traversing/var/siblings.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | return function( n, elem ) { 4 | var matched = []; 5 | 6 | for ( ; n; n = n.nextSibling ) { 7 | if ( n.nodeType === 1 && n !== elem ) { 8 | matched.push( n ); 9 | } 10 | } 11 | 12 | return matched; 13 | }; 14 | 15 | } ); 16 | -------------------------------------------------------------------------------- /nikola/plugins/command/github_deploy.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = github_deploy 3 | module = github_deploy 4 | 5 | [Documentation] 6 | author = Puneeth Chaganti 7 | version = 1,0 8 | website = https://getnikola.com/ 9 | description = Deploy the site to GitHub pages. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/task/scale_images.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = scale_images 3 | module = scale_images 4 | 5 | [Documentation] 6 | author = Pelle Nilsson 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Create down-scaled images and thumbnails. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /nikola/plugins/command/install_theme.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = install_theme 3 | module = install_theme 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Install a theme into the current site. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/markdown.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = markdown 3 | module = markdown 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile Markdown into HTML 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = Markdown 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/pandoc.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = pandoc 3 | module = pandoc 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile markups into HTML using pandoc 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = Pandoc 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/slides.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_slides 3 | module = slides 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Slides directive 14 | 15 | -------------------------------------------------------------------------------- /nikola/plugins/task/robots.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = robots 3 | module = robots 4 | 5 | [Documentation] 6 | author = Daniel Aleksandersen 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Generate /robots.txt exclusion file and promote sitemap. 10 | 11 | [Nikola] 12 | plugincategory = Task 13 | 14 | -------------------------------------------------------------------------------- /requirements-extras.txt: -------------------------------------------------------------------------------- 1 | -r requirements.txt 2 | Markdown>=2.4.0 3 | Jinja2>=2.7.2 4 | husl>=4.0.2 5 | pyphen>=0.9.1 6 | micawber>=0.3.0 7 | pygal>=2.0.0 8 | typogrify>=2.0.4 9 | phpserialize>=1.3 10 | webassets>=0.10.1 11 | notebook>=4.0.0 12 | ipykernel>=4.0.0 13 | ghp-import2>=1.0.0 14 | ws4py==0.3.5 15 | watchdog==0.8.3 16 | -------------------------------------------------------------------------------- /bower_components/moment/templates/locale-header.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : 3 | typeof define === 'function' && define.amd ? define(['moment'], factory) : 4 | factory(global.moment) 5 | }(this, function (moment) { 'use strict'; 6 | -------------------------------------------------------------------------------- /nikola/plugins/command/rst2html.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rst2html 3 | module = rst2html 4 | 5 | [Documentation] 6 | author = Chris Warrick 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile reStructuredText to HTML using the Nikola architecture 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/php.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = php 3 | module = php 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Compile PHP into HTML (just copy and name the file .php) 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = PHP 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/chart.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_chart 3 | module = chart 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Chart directive based in PyGal 14 | 15 | -------------------------------------------------------------------------------- /bower_components/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep( jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | } ).length; 11 | }; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /bower_components/moment/templates/test-header.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../../moment')) : 3 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : 4 | factory(global.moment) 5 | }(this, function (moment) { 'use strict'; 6 | -------------------------------------------------------------------------------- /nikola/plugins/command/auto.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = auto 3 | module = auto 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 2.1.0 8 | website = https://getnikola.com/ 9 | description = Automatically detect site changes, rebuild and optionally refresh a browser. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/listing.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_listing 3 | module = listing 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Extension for source listings 14 | 15 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/soundcloud.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_soundcloud 3 | module = soundcloud 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Soundcloud directive 14 | 15 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | doit>=0.28.0,<=0.29.0 2 | Pygments>=1.6 3 | Pillow>=2.4.0 4 | python-dateutil>=2.4.0 5 | docutils>=0.12 6 | mako>=1.0.0 7 | unidecode>=0.04.16 8 | lxml>=3.3.5 9 | Yapsy>=1.11.223 10 | PyRSS2Gen>=1.1 11 | logbook>=0.7.0 12 | blinker>=1.3 13 | setuptools>=5.4.1 14 | natsort>=3.5.2 15 | requests>=2.2.0 16 | piexif>=1.0.3 17 | -------------------------------------------------------------------------------- /snapcraft/nikola.py: -------------------------------------------------------------------------------- 1 | #!/snap/nikola/current/usr/bin/python3 2 | # EASY-INSTALL-ENTRY-SCRIPT: 'Nikola==7.8.1' 3 | __requires__ = 'Nikola==7.8.1' 4 | import sys 5 | from pkg_resources import load_entry_point 6 | 7 | if __name__ == '__main__': 8 | sys.exit( 9 | load_entry_point('Nikola', 'console_scripts', 'nikola')() 10 | ) 11 | -------------------------------------------------------------------------------- /nikola/plugins/compile/markdown/mdx_gist.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = mdx_gist 3 | module = mdx_gist 4 | 5 | [Nikola] 6 | compiler = markdown 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Extension for embedding gists 14 | 15 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/doc.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_doc 3 | module = doc 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Manuel Kaufmann 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Role to link another page / post from the blog 14 | 15 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/media.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_media 3 | module = media 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Directive to support oembed via micawber 14 | 15 | -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/1.rst: -------------------------------------------------------------------------------- 1 | .. title: Nikola: it generates static 2 | .. slug: about-nikola 3 | .. date: 2012-03-30 23:00:00 UTC-03:00 4 | .. tags: 5 | .. link: 6 | .. description: 7 | 8 | Hope you enjoy this software! 9 | 10 | * Home page at https://getnikola.com/ 11 | * Author's blog (and reason why Nikola exists): https://ralsina.me/ 12 | -------------------------------------------------------------------------------- /nikola/packages/tzlocal/__init__.py: -------------------------------------------------------------------------------- 1 | """tzlocal init.""" 2 | 3 | import sys 4 | if sys.platform == 'win32': 5 | from .win32 import get_localzone, reload_localzone # NOQA 6 | elif 'darwin' in sys.platform: 7 | from .darwin import get_localzone, reload_localzone # NOQA 8 | else: 9 | from .unix import get_localzone, reload_localzone # NOQA 10 | -------------------------------------------------------------------------------- /nikola/plugins/command/import_wordpress.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = import_wordpress 3 | module = import_wordpress 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Import a wordpress site from a XML dump (requires markdown). 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/command/bootswatch_theme.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = bootswatch_theme 3 | module = bootswatch_theme 4 | 5 | [Documentation] 6 | author = Roberto Alsina 7 | version = 1.0 8 | website = https://getnikola.com/ 9 | description = Given a swatch name and a parent theme, creates a custom theme. 10 | 11 | [Nikola] 12 | plugincategory = Command 13 | 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/markdown/mdx_nikola.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = mdx_nikola 3 | module = mdx_nikola 4 | 5 | [Nikola] 6 | compiler = markdown 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Nikola-specific Markdown extensions 14 | 15 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/post_list.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_post_list 3 | module = post_list 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Udo Spallek 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Includes a list of posts with tag and slide based filters. 14 | 15 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/duration/duration.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './prototype'; 3 | 4 | import { createDuration } from './create'; 5 | import { isDuration } from './constructor'; 6 | import { getSetRelativeTimeThreshold } from './humanize'; 7 | 8 | export { 9 | createDuration, 10 | isDuration, 11 | getSetRelativeTimeThreshold 12 | }; 13 | -------------------------------------------------------------------------------- /bower_components/bootstrap/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi" : true, 3 | "browser" : true, 4 | "eqeqeq" : false, 5 | "eqnull" : true, 6 | "es3" : true, 7 | "expr" : true, 8 | "jquery" : true, 9 | "latedef" : true, 10 | "laxbreak" : true, 11 | "nonbsp" : true, 12 | "strict" : true, 13 | "undef" : true, 14 | "unused" : true 15 | } 16 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/to-int.js: -------------------------------------------------------------------------------- 1 | import absFloor from './abs-floor'; 2 | 3 | export default function toInt(argumentForCoercion) { 4 | var coercedNumber = +argumentForCoercion, 5 | value = 0; 6 | 7 | if (coercedNumber !== 0 && isFinite(coercedNumber)) { 8 | value = absFloor(coercedNumber); 9 | } 10 | 11 | return value; 12 | } 13 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.packages.txt: -------------------------------------------------------------------------------- 1 | nikola.packages package 2 | ======================= 3 | 4 | Subpackages 5 | ----------- 6 | 7 | .. toctree:: 8 | 9 | nikola.packages.datecond 10 | nikola.packages.tzlocal 11 | 12 | Module contents 13 | --------------- 14 | 15 | .. automodule:: nikola.packages 16 | :members: 17 | :undoc-members: 18 | :show-inheritance: 19 | -------------------------------------------------------------------------------- /nikola/plugins/compile/ipynb.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = ipynb 3 | module = ipynb 4 | 5 | [Documentation] 6 | author = Damian Avila, Chris Warrick and others 7 | version = 2.0.0 8 | website = http://www.damian.oquanta.info/ 9 | description = Compile IPython notebooks into Nikola posts 10 | 11 | [Nikola] 12 | plugincategory = Compiler 13 | friendlyname = Jupyter/IPython Notebook 14 | -------------------------------------------------------------------------------- /nikola/plugins/compile/rest/thumbnail.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = rest_thumbnail 3 | module = thumbnail 4 | 5 | [Nikola] 6 | compiler = rest 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Pelle Nilsson 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = reST directive to facilitate enlargeable images with thumbnails 14 | 15 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | source = nikola 3 | omit = /tmp/*, _*, nikola/packages*, nikola/data*, nikola/winutils* 4 | [report] 5 | exclude_lines = 6 | pragma: no cover 7 | def __repr__ 8 | if self.debug: 9 | if settings.DEBUG 10 | raise AssertionError 11 | raise NotImplementedError 12 | if 0: 13 | if __name__ == .__main__.: 14 | except ImportError: 15 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/base_footer.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%namespace name="base" file="base_helper.tmpl" import="*"/> 3 | 4 | <%def name="html_footer()"> 5 | %if content_footer: 6 |
7 |

${content_footer}

8 | ${template_hooks['page_footer']()} 9 |
10 | %endif 11 | 12 | -------------------------------------------------------------------------------- /scripts/generate_conf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # Generate a conf.py file from the template, using default settings. 3 | 4 | import nikola.plugins.command.init 5 | 6 | try: 7 | print(nikola.plugins.command.init.CommandInit.create_configuration_to_string()) 8 | except: 9 | print(nikola.plugins.command.init.CommandInit.create_configuration_to_string().encode('utf-8')) 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[co] 2 | *.db 3 | *~ 4 | /dist 5 | *.log 6 | *.diff 7 | *.patch 8 | tmp/ 9 | output/ 10 | build/ 11 | .idea/ 12 | __pycache__/ 13 | *.egg-info/ 14 | .cache/ 15 | 16 | # virtualenvwrapper oh-my-zsh plugin 17 | .venv 18 | 19 | # coverage.py 20 | .coverage 21 | 22 | # pyenv 23 | .python-version 24 | 25 | # GitHub token 26 | .pypt/gh-token 27 | 28 | #  29 | .DS_Store 30 | -------------------------------------------------------------------------------- /nikola/plugins/compile/markdown/mdx_podcast.plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | name = mdx_podcast 3 | module = mdx_podcast 4 | 5 | [Nikola] 6 | compiler = markdown 7 | plugincategory = CompilerExtension 8 | 9 | [Documentation] 10 | author = Roberto Alsina 11 | version = 0.1 12 | website = https://getnikola.com/ 13 | description = Markdown extensions for embedding podcasts and other audio files 14 | 15 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/zero-fill.js: -------------------------------------------------------------------------------- 1 | export default function zeroFill(number, targetLength, forceSign) { 2 | var absNumber = '' + Math.abs(number), 3 | zerosToFill = targetLength - absNumber.length, 4 | sign = number >= 0; 5 | return (sign ? (forceSign ? '+' : '') : '-') + 6 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; 7 | } 8 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/hooks.js: -------------------------------------------------------------------------------- 1 | export { hooks, setHookCallback }; 2 | 3 | var hookCallback; 4 | 5 | function hooks () { 6 | return hookCallback.apply(null, arguments); 7 | } 8 | 9 | // This is done to register the method called with moment() 10 | // without creating circular dependencies. 11 | function setHookCallback (callback) { 12 | hookCallback = callback; 13 | } 14 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/bundles: -------------------------------------------------------------------------------- 1 | assets/css/all-nocdn.css=bootstrap.css,rst.css,code.css,colorbox.css,theme.css,custom.css 2 | assets/css/all.css=rst.css,code.css,colorbox.css,theme.css,custom.css 3 | assets/js/all-nocdn.js=jquery.min.js,bootstrap.min.js,jquery.colorbox-min.js,moment-with-locales.min.js,fancydates.js 4 | assets/js/all.js=jquery.colorbox-min.js,moment-with-locales.min.js,fancydates.js 5 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/base_footer.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% import 'base_helper.tmpl' as base with context %} 3 | 4 | {% macro html_footer() %} 5 | {% if content_footer %} 6 |
7 |

{{ content_footer }}

8 | {{ template_hooks['page_footer']() }} 9 |
10 | {% endif %} 11 | {% endmacro %} 12 | -------------------------------------------------------------------------------- /nikola/data/samplesite/README.txt: -------------------------------------------------------------------------------- 1 | This folder contains the source used to generate a static site using Nikola. 2 | 3 | Installation and documentation at https://getnikola.com/ 4 | 5 | Configuration file for the site is ``conf.py``. 6 | 7 | To build the site:: 8 | 9 | nikola build 10 | 11 | To see it:: 12 | 13 | nikola serve -b 14 | 15 | To check all available commands:: 16 | 17 | nikola help 18 | -------------------------------------------------------------------------------- /tests/test_commands.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals, absolute_import 3 | 4 | import os 5 | import sys 6 | 7 | import unittest 8 | 9 | from nikola.plugins.command.version import CommandVersion 10 | 11 | 12 | class CommandVersionCallTest(unittest.TestCase): 13 | def test_version(self): 14 | """Test `nikola version`.""" 15 | CommandVersion().execute() 16 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // WebKit-specific. Other browsers will keep their default outline style. 5 | // (Initially tried to also force default via `outline: initial`, 6 | // but that seems to erroneously remove the outline in Firefox altogether.) 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/README.md: -------------------------------------------------------------------------------- 1 | A theme based on Bootstrap 3. 2 | 3 | There is a variant called bootstrap3-gradients which uses an extra CSS 4 | file for a *visually enhanced experience* (according to Bootstrap 5 | developers at least). This one uses the default bootstrap3 flat look. 6 | 7 | This theme supports Bootswtach font/color schemes (unlike 8 | bootstrap3-gradients) through the `nikola bootswatch_theme` command. 9 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-gl.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Galician (gl) 4 | translated by: donatorouco 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Imaxe {current} de {total}", 8 | previous: "Anterior", 9 | next: "Seguinte", 10 | close: "Pechar", 11 | xhrError: "Erro na carga do contido.", 12 | imgError: "Erro na carga da imaxe." 13 | }); 14 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/README.md: -------------------------------------------------------------------------------- 1 | A theme based on Bootstrap 3. 2 | 3 | There is a variant called bootstrap3-gradients which uses an extra CSS 4 | file for a *visually enhanced experience* (according to Bootstrap 5 | developers at least). This one uses the default bootstrap3 flat look. 6 | 7 | This theme supports Bootswtach font/color schemes (unlike 8 | bootstrap3-gradients) through the `nikola bootswatch_theme` command. 9 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/timezone.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | 3 | // FORMATTING 4 | 5 | addFormatToken('z', 0, 0, 'zoneAbbr'); 6 | addFormatToken('zz', 0, 0, 'zoneName'); 7 | 8 | // MOMENTS 9 | 10 | export function getZoneAbbr () { 11 | return this._isUTC ? 'UTC' : ''; 12 | } 13 | 14 | export function getZoneName () { 15 | return this._isUTC ? 'Coordinated Universal Time' : ''; 16 | } 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-es.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Spanish (es) 4 | translated by: migolo 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Imagen {current} de {total}", 8 | previous: "Anterior", 9 | next: "Siguiente", 10 | close: "Cerrar", 11 | xhrError: "Error en la carga del contenido.", 12 | imgError: "Error en la carga de la imagen." 13 | }); 14 | -------------------------------------------------------------------------------- /bower_components/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "../external/sizzle/dist/sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[ ":" ] = jQuery.expr.pseudos; 9 | jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | } ); 15 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-ca.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Catala (ca) 4 | translated by: eduard salla 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Imatge {current} de {total}", 8 | previous: "Anterior", 9 | next: "Següent", 10 | close: "Tancar", 11 | xhrError: "Error en la càrrega del contingut.", 12 | imgError: "Error en la càrrega de la imatge." 13 | }); 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /bower_components/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ 8 | "ajaxStart", 9 | "ajaxStop", 10 | "ajaxComplete", 11 | "ajaxError", 12 | "ajaxSuccess", 13 | "ajaxSend" 14 | ], function( i, type ) { 15 | jQuery.fn[ type ] = function( fn ) { 16 | return this.on( type, fn ); 17 | }; 18 | } ); 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-TW.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Chinese Traditional (zh-TW) 4 | translated by: Atans Chiu 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "圖片 {current} 總共 {total}", 8 | previous: "上一頁", 9 | next: "下一頁", 10 | close: "關閉", 11 | xhrError: "此內容載入失敗.", 12 | imgError: "此圖片加入失敗.", 13 | slideshowStart: "開始幻燈片", 14 | slideshowStop: "結束幻燈片" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-kr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Korean (kr) 4 | translated by: lunareffect 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "총 {total} 중 {current}", 8 | previous: "이전", 9 | next: "다음", 10 | close: "닫기", 11 | xhrError: "컨텐츠를 불러오는 데 실패했습니다.", 12 | imgError: "이미지를 불러오는 데 실패했습니다.", 13 | slideshowStart: "슬라이드쇼 시작", 14 | slideshowStop: "슬라이드쇼 중지" 15 | }); 16 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/comments_helper_muut.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | 3 | <%def name="comment_form(url, title, identifier)"> 4 | ${comment_system_id} forums 5 | 6 | 7 | <%def name="comment_link(link, identifier)"> 8 | 9 | 10 | 11 | <%def name="comment_link_script()"> 12 | 13 | 14 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nikola", 3 | "version": "0.0.0", 4 | "homepage": "https://github.com/getnikola/nikola", 5 | "authors": [ 6 | "Nikola Team " 7 | ], 8 | "description": "Nikola", 9 | "license": "MIT", 10 | "private": true, 11 | "dependencies": { 12 | "bootstrap": "~3.3.7", 13 | "jquery": "<2.0.0", 14 | "jquery-colorbox": "~1.6.0", 15 | "moment": "~2.10.3", 16 | "livereload-js": "~2.2.1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /bower_components/bootstrap/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. 2 | 3 | See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. 4 | 5 | Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. 6 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-CN.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Chinese Simplified (zh-CN) 4 | translated by: zhao weiming 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "当前图像 {current} 总共 {total}", 8 | previous: "前一页", 9 | next: "后一页", 10 | close: "关闭", 11 | xhrError: "此内容无法加载", 12 | imgError: "此图片无法加载", 13 | slideshowStart: "开始播放幻灯片", 14 | slideshowStop: "停止播放幻灯片" 15 | }); -------------------------------------------------------------------------------- /bower_components/moment/src/lib/create/from-object.js: -------------------------------------------------------------------------------- 1 | import { normalizeObjectUnits } from '../units/aliases'; 2 | import { configFromArray } from './from-array'; 3 | 4 | export function configFromObject(config) { 5 | if (config._d) { 6 | return; 7 | } 8 | 9 | var i = normalizeObjectUnits(config._i); 10 | config._a = [i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond]; 11 | 12 | configFromArray(config); 13 | } 14 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/extend.js: -------------------------------------------------------------------------------- 1 | import hasOwnProp from './has-own-prop'; 2 | 3 | export default function extend(a, b) { 4 | for (var i in b) { 5 | if (hasOwnProp(b, i)) { 6 | a[i] = b[i]; 7 | } 8 | } 9 | 10 | if (hasOwnProp(b, 'toString')) { 11 | a.toString = b.toString; 12 | } 13 | 14 | if (hasOwnProp(b, 'valueOf')) { 15 | a.valueOf = b.valueOf; 16 | } 17 | 18 | return a; 19 | } 20 | -------------------------------------------------------------------------------- /bower_components/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | 5 | // css is assumed 6 | ], function( jQuery ) { 7 | 8 | return function( elem, el ) { 9 | 10 | // isHidden might be called from jQuery#filter function; 11 | // in that case, element will be second argument 12 | elem = el || elem; 13 | return jQuery.css( elem, "display" ) === "none" || 14 | !jQuery.contains( elem.ownerDocument, elem ); 15 | }; 16 | } ); 17 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/moment/valid.js: -------------------------------------------------------------------------------- 1 | import { isValid as _isValid } from '../create/valid'; 2 | import extend from '../utils/extend'; 3 | import getParsingFlags from '../create/parsing-flags'; 4 | 5 | export function isValid () { 6 | return _isValid(this); 7 | } 8 | 9 | export function parsingFlags () { 10 | return extend({}, getParsingFlags(this)); 11 | } 12 | 13 | export function invalidAt () { 14 | return getParsingFlags(this).overflow; 15 | } 16 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table !important; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/calendar.js: -------------------------------------------------------------------------------- 1 | export var defaultCalendar = { 2 | sameDay : '[Today at] LT', 3 | nextDay : '[Tomorrow at] LT', 4 | nextWeek : 'dddd [at] LT', 5 | lastDay : '[Yesterday at] LT', 6 | lastWeek : '[Last] dddd [at] LT', 7 | sameElse : 'L' 8 | }; 9 | 10 | export function calendar (key, mom, now) { 11 | var output = this._calendar[key]; 12 | return typeof output === 'function' ? output.call(mom, now) : output; 13 | } 14 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-ja.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Japanaese (ja) 4 | translated by: Hajime Fujimoto 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "{total}枚中{current}枚目", 8 | previous: "前", 9 | next: "次", 10 | close: "閉じる", 11 | xhrError: "コンテンツの読み込みに失敗しました", 12 | imgError: "画像の読み込みに失敗しました", 13 | slideshowStart: "スライドショー開始", 14 | slideshowStop: "スライドショー終了" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax( { 7 | url: url, 8 | 9 | // Make this explicit, since user can override this through ajaxSetup (#11264) 10 | type: "GET", 11 | dataType: "script", 12 | cache: true, 13 | async: false, 14 | global: false, 15 | "throws": true 16 | } ); 17 | }; 18 | 19 | return jQuery._evalUrl; 20 | 21 | } ); 22 | -------------------------------------------------------------------------------- /bower_components/moment/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moment", 3 | "main": "moment.js", 4 | "ignore": [ 5 | "**/.*", 6 | "benchmarks", 7 | "bower_components", 8 | "meteor", 9 | "node_modules", 10 | "scripts", 11 | "tasks", 12 | "test", 13 | "component.json", 14 | "composer.json", 15 | "CONTRIBUTING.md", 16 | "ender.js", 17 | "Gruntfile.js", 18 | "Moment.js.nuspec", 19 | "package.js", 20 | "package.json" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /bower_components/jquery/src/traversing/var/dir.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | return function( elem, dir, until ) { 6 | var matched = [], 7 | truncate = until !== undefined; 8 | 9 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 10 | if ( elem.nodeType === 1 ) { 11 | if ( truncate && jQuery( elem ).is( until ) ) { 12 | break; 13 | } 14 | matched.push( elem ); 15 | } 16 | } 17 | return matched; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/setGlobalEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Mark scripts as having already been evaluated 6 | function setGlobalEval( elems, refElements ) { 7 | var elem, 8 | i = 0; 9 | for ( ; ( elem = elems[ i ] ) != null; i++ ) { 10 | jQuery._data( 11 | elem, 12 | "globalEval", 13 | !refElements || jQuery._data( refElements[ i ], "globalEval" ) 14 | ); 15 | } 16 | } 17 | 18 | return setGlobalEval; 19 | } ); 20 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-et.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Estonian (et) 4 | translated by: keevitaja 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "{current}/{total}", 8 | previous: "eelmine", 9 | next: "järgmine", 10 | close: "sulge", 11 | xhrError: "Sisu ei õnnestunud laadida.", 12 | imgError: "Pilti ei õnnestunud laadida.", 13 | slideshowStart: "Käivita slaidid", 14 | slideshowStop: "Peata slaidid" 15 | }); -------------------------------------------------------------------------------- /bower_components/jquery/src/data/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var div = document.createElement( "div" ); 8 | 9 | // Support: IE<9 10 | support.deleteExpando = true; 11 | try { 12 | delete div.test; 13 | } catch ( e ) { 14 | support.deleteExpando = false; 15 | } 16 | 17 | // Null elements to avoid leaks in IE. 18 | div = null; 19 | } )(); 20 | 21 | return support; 22 | 23 | } ); 24 | -------------------------------------------------------------------------------- /bower_components/jquery/src/manipulation/createSafeFragment.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./var/nodeNames" 3 | ], function( nodeNames ) { 4 | 5 | function createSafeFragment( document ) { 6 | var list = nodeNames.split( "|" ), 7 | safeFrag = document.createDocumentFragment(); 8 | 9 | if ( safeFrag.createElement ) { 10 | while ( list.length ) { 11 | safeFrag.createElement( 12 | list.pop() 13 | ); 14 | } 15 | } 16 | return safeFrag; 17 | } 18 | 19 | return createSafeFragment; 20 | } ); 21 | -------------------------------------------------------------------------------- /nikola/data/samplesite/pages/slides-demo.rst: -------------------------------------------------------------------------------- 1 | .. title: Slides Demo 2 | .. slug: slides-demo 3 | .. date: 2012-12-27 10:16:20 UTC-03:00 4 | .. tags: 5 | .. link: 6 | .. description: 7 | 8 | Nikola intends to let you do slideshows easily: 9 | 10 | .. slides:: 11 | 12 | /galleries/demo/tesla_conducts_lg.jpg 13 | /galleries/demo/tesla_lightning2_lg.jpg 14 | /galleries/demo/tesla4_lg.jpg 15 | /galleries/demo/tesla_lightning1_lg.jpg 16 | /galleries/demo/tesla_tower1_lg.jpg 17 | 18 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/comments_helper_muut.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | 3 | {% macro comment_form(url, title, identifier) %} 4 | {{ comment_system_id }} forums 5 | {% endmacro %} 6 | 7 | {% macro comment_link(link, identifier) %} 8 | {% endmacro %} 9 | 10 | 11 | {% macro comment_link_script() %} 12 | 13 | {% endmacro %} 14 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-he.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Hebrew (he) 4 | translated by: David Cohen 5 | site: dav.co.il 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "תמונה {current} מתוך {total}", 9 | previous: "הקודם", 10 | next: "הבא", 11 | close: "סגור", 12 | xhrError: "שגיאה בטעינת התוכן.", 13 | imgError: "שגיאה בטעינת התמונה.", 14 | slideshowStart: "התחל מצגת", 15 | slideshowStop: "עצור מצגת" 16 | }); 17 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3/templates/authors.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="base.tmpl"/> 3 | 4 | <%block name="content"> 5 | % if items: 6 |

${messages("Authors")}

7 | % endif 8 | % if items: 9 |
    10 | % for text, link in items: 11 | % if text not in hidden_authors: 12 |
  • ${text|h}
  • 13 | % endif 14 | % endfor 15 |
16 | % endif 17 | 18 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-ar.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Arabic (ar) 4 | translated by: A.Rhman Sayes 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "الصورة {current} من {total}", 8 | previous: "السابق", 9 | next: "التالي", 10 | close: "إغلاق", 11 | xhrError: "حدث خطأ أثناء تحميل المحتوى.", 12 | imgError: "حدث خطأ أثناء تحميل الصورة.", 13 | slideshowStart: "تشغيل العرض", 14 | slideshowStop: "إيقاف العرض" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-id.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Indonesian (id) 4 | translated by: sarwasunda 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "ke {current} dari {total}", 8 | previous: "Sebelumnya", 9 | next: "Berikutnya", 10 | close: "Tutup", 11 | xhrError: "Konten ini tidak dapat dimuat.", 12 | imgError: "Gambar ini tidak dapat dimuat.", 13 | slideshowStart: "Putar", 14 | slideshowStop: "Berhenti" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/moment/to.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | 4 | export function to (time, withoutSuffix) { 5 | if (!this.isValid()) { 6 | return this.localeData().invalidDate(); 7 | } 8 | return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); 9 | } 10 | 11 | export function toNow (withoutSuffix) { 12 | return this.to(createLocal(), withoutSuffix); 13 | } 14 | -------------------------------------------------------------------------------- /scripts/generate_symlinked_list.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Generate a list of symlinked files and directories. 3 | # Each line must be the file path, relative to the git root. 4 | 5 | WDir="${PWD##*/}" 6 | [[ $WDir == 'scripts' ]] && cd .. 7 | 8 | dst='nikola/data/symlinked.txt' 9 | 10 | # Remove stale symlinks 11 | for f in $(git ls-files -s | awk '/120000/{print $4}'); do 12 | if [[ ! -e $f ]]; then 13 | git rm -f $f 14 | fi 15 | done 16 | 17 | git ls-files -s | awk '/120000/{print $4}' > $dst 18 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-sv.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Swedish (sv) 4 | translated by: Mattias Reichel 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Bild {current} av {total}", 8 | previous: "Föregående", 9 | next: "Nästa", 10 | close: "Stäng", 11 | xhrError: "Innehållet kunde inte laddas.", 12 | imgError: "Den här bilden kunde inte laddas.", 13 | slideshowStart: "Starta bildspel", 14 | slideshowStop: "Stoppa bildspel" 15 | }); -------------------------------------------------------------------------------- /bower_components/moment/src/lib/moment/from.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | 4 | export function from (time, withoutSuffix) { 5 | if (!this.isValid()) { 6 | return this.localeData().invalidDate(); 7 | } 8 | return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); 9 | } 10 | 11 | export function fromNow (withoutSuffix) { 12 | return this.from(createLocal(), withoutSuffix); 13 | } 14 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.misc.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins.misc package 2 | =========================== 3 | 4 | Submodules 5 | ---------- 6 | 7 | nikola.plugins.misc.scan_posts module 8 | ------------------------------------- 9 | 10 | .. automodule:: nikola.plugins.misc.scan_posts 11 | :members: 12 | :undoc-members: 13 | :show-inheritance: 14 | 15 | 16 | Module contents 17 | --------------- 18 | 19 | .. automodule:: nikola.plugins.misc 20 | :members: 21 | :undoc-members: 22 | :show-inheritance: 23 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-bn.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Bengali (bn) 4 | translated by: Arkaprava Majumder 5 | http://github.com/arkaindas 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "ছবি {current} এর {total}", 9 | previous: "আগে", 10 | next: "পরে", 11 | close: "বন্ধ", 12 | xhrError: "এই কন্টেন্ট লোড করা যায়নি.", 13 | imgError: "এই ছবিটি লোড করা যায়নি.", 14 | slideshowStart: "স্লাইডশো শুরু", 15 | slideshowStop: "স্লাইডশো বন্ধ" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-fi.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Finnish (fi) 4 | translated by: Mikko 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Kuva {current} / {total}", 8 | previous: "Edellinen", 9 | next: "Seuraava", 10 | close: "Sulje", 11 | xhrError: "Sisällön lataaminen epäonnistui.", 12 | imgError: "Kuvan lataaminen epäonnistui.", 13 | slideshowStart: "Aloita kuvaesitys.", 14 | slideshowStop: "Lopeta kuvaesitys." 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-hu.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Hungarian (hu) 4 | translated by: kovadani 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "{current}/{total} kép", 8 | previous: "Előző", 9 | next: "Következő", 10 | close: "Bezár", 11 | xhrError: "A tartalmat nem sikerült betölteni.", 12 | imgError: "A képet nem sikerült betölteni.", 13 | slideshowStart: "Diavetítés indítása", 14 | slideshowStop: "Diavetítés leállítása" 15 | }); -------------------------------------------------------------------------------- /bower_components/bootstrap/nuget/MyGet.ps1: -------------------------------------------------------------------------------- 1 | $nuget = $env:NuGet 2 | 3 | # parse the version number out of package.json 4 | $bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version 5 | 6 | # create packages 7 | & $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 8 | & $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 9 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-de.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: German (de) 4 | translated by: wallenium 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Bild {current} von {total}", 8 | previous: "Zurück", 9 | next: "Vor", 10 | close: "Schließen", 11 | xhrError: "Dieser Inhalt konnte nicht geladen werden.", 12 | imgError: "Dieses Bild konnte nicht geladen werden.", 13 | slideshowStart: "Slideshow starten", 14 | slideshowStop: "Slideshow anhalten" 15 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-nl.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Dutch (nl) 4 | translated by: barryvdh 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Afbeelding {current} van {total}", 8 | previous: "Vorige", 9 | next: "Volgende", 10 | close: "Sluiten", 11 | xhrError: "Deze inhoud kan niet geladen worden.", 12 | imgError: "Deze afbeelding kan niet geladen worden.", 13 | slideshowStart: "Diashow starten", 14 | slideshowStop: "Diashow stoppen" 15 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-sk.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Slovak (sk) 4 | translated by: Jaroslav Kostal 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "{current}. obrázok z {total}", 8 | previous: "Predchádzajúci", 9 | next: "Následujúci", 10 | close: "Zatvoriť", 11 | xhrError: "Obsah sa nepodarilo načítať.", 12 | imgError: "Obrázok sa nepodarilo načítať.", 13 | slideshowStart: "Spustiť slideshow", 14 | slideshowStop: "zastaviť slideshow" 15 | }); -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/units.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './day-of-month'; 3 | import './day-of-week'; 4 | import './day-of-year'; 5 | import './hour'; 6 | import './millisecond'; 7 | import './minute'; 8 | import './month'; 9 | import './offset'; 10 | import './quarter'; 11 | import './second'; 12 | import './timestamp'; 13 | import './timezone'; 14 | import './week-year'; 15 | import './week'; 16 | import './year'; 17 | 18 | import { normalizeUnits } from './aliases'; 19 | 20 | export { normalizeUnits }; 21 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/crumbs.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | 3 | <%def name="bar(crumbs)"> 4 | %if crumbs: 5 | 18 | %endif 19 | 20 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-da.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Danish (da) 4 | translated by: danieljuhl 5 | site: danieljuhl.dk 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "Billede {current} af {total}", 9 | previous: "Forrige", 10 | next: "Næste", 11 | close: "Luk", 12 | xhrError: "Indholdet fejlede i indlæsningen.", 13 | imgError: "Billedet fejlede i indlæsningen.", 14 | slideshowStart: "Start slideshow", 15 | slideshowStop: "Stop slideshow" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-lt.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Lithuanian (lt) 4 | translated by: Tomas Norkūnas 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Nuotrauka {current} iš {total}", 8 | previous: "Atgal", 9 | next: "Pirmyn", 10 | close: "Uždaryti", 11 | xhrError: "Nepavyko užkrauti turinio.", 12 | imgError: "Nepavyko užkrauti nuotraukos.", 13 | slideshowStart: "Pradėti automatinę peržiūrą", 14 | slideshowStop: "Sustabdyti automatinę peržiūrą" 15 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-hr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Croatian (hr) 4 | translated by: Mladen Bicanic (base.hr) 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Slika {current} od {total}", 8 | previous: "Prethodna", 9 | next: "Sljedeća", 10 | close: "Zatvori", 11 | xhrError: "Neuspješno učitavanje sadržaja.", 12 | imgError: "Neuspješno učitavanje slike.", 13 | slideshowStart: "Pokreni slideshow", 14 | slideshowStop: "Zaustavi slideshow" 15 | }); -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/en.js: -------------------------------------------------------------------------------- 1 | import './prototype'; 2 | import { getSetGlobalLocale } from './locales'; 3 | import toInt from '../utils/to-int'; 4 | 5 | getSetGlobalLocale('en', { 6 | ordinalParse: /\d{1,2}(th|st|nd|rd)/, 7 | ordinal : function (number) { 8 | var b = number % 10, 9 | output = (toInt(number % 100 / 10) === 1) ? 'th' : 10 | (b === 1) ? 'st' : 11 | (b === 2) ? 'nd' : 12 | (b === 3) ? 'rd' : 'th'; 13 | return number + output; 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /nikola/data/themes/bootstrap3-jinja/templates/authors.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'base.tmpl' %} 3 | 4 | {% block content %} 5 | {% if items %} 6 |

{{ messages("Authors") }}

7 | {% endif %} 8 | {% if items %} 9 |
    10 | {% for text, link in items %} 11 | {% if text not in hidden_authors %} 12 |
  • {{ text|e }}
  • 13 | {% endif %} 14 | {% endfor %} 15 |
16 | {% endif %} 17 | {% endblock %} 18 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-pt-BR.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Brazilian Portuguese (pt-BR) 4 | translated by: ReinaldoMT 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Imagem {current} de {total}", 8 | previous: "Anterior", 9 | next: "Próxima", 10 | close: "Fechar", 11 | slideshowStart: "iniciar apresentação de slides", 12 | slideshowStop: "parar apresentação de slides", 13 | xhrError: "Erro ao carregar o conteúdo.", 14 | imgError: "Erro ao carregar a imagem." 15 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-cs.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Czech (cs) 4 | translated by: Filip Novak 5 | site: mame.napilno.cz/filip-novak 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "{current}. obrázek z {total}", 9 | previous: "Předchozí", 10 | next: "Následující", 11 | close: "Zavřít", 12 | xhrError: "Obsah se nepodařilo načíst.", 13 | imgError: "Obrázek se nepodařilo načíst.", 14 | slideshowStart: "Spustit slideshow", 15 | slideshowStop: "Zastavit slideshow" 16 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-it.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Italian (it) 4 | translated by: maur8ino 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Immagine {current} di {total}", 8 | previous: "Precedente", 9 | next: "Successiva", 10 | close: "Chiudi", 11 | xhrError: "Errore nel caricamento del contenuto.", 12 | imgError: "Errore nel caricamento dell'immagine.", 13 | slideshowStart: "Inizia la presentazione", 14 | slideshowStop: "Termina la presentazione" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-no.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Norwegian (no) 4 | translated by: lars-erik 5 | site: markedspartner.no 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "Bilde {current} av {total}", 9 | previous: "Forrige", 10 | next: "Neste", 11 | close: "Lukk", 12 | xhrError: "Feil ved lasting av innhold.", 13 | imgError: "Feil ved lasting av bilde.", 14 | slideshowStart: "Start lysbildefremvisning", 15 | slideshowStop: "Stopp lysbildefremvisning" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-si.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Slovenian (si) 4 | translated by: Boštjan Pišler (pisler.si) 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Slika {current} od {total}", 8 | previous: "Prejšnja", 9 | next: "Naslednja", 10 | close: "Zapri", 11 | xhrError: "Vsebine ni bilo mogoče naložiti.", 12 | imgError: "Slike ni bilo mogoče naložiti.", 13 | slideshowStart: "Zaženi prezentacijo", 14 | slideshowStop: "Zaustavi prezentacijo" 15 | }); -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/authors.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="base.tmpl"/> 3 | 4 | <%block name="content"> 5 |
6 | %if items: 7 |

${messages("Authors")}

8 |
    9 | % for text, link in items: 10 | % if text not in hidden_authors: 11 |
  • ${text|h}
  • 12 | % endif 13 | % endfor 14 |
15 | %endif 16 |
17 | 18 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-gr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Greek (gr) 4 | translated by: S.Demirtzoglou 5 | site: webiq.gr 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "Εικόνα {current} από {total}", 9 | previous: "Προηγούμενη", 10 | next: "Επόμενη", 11 | close: "Απόκρυψη", 12 | xhrError: "Το περιεχόμενο δεν μπόρεσε να φορτωθεί.", 13 | imgError: "Απέτυχε η φόρτωση της εικόνας.", 14 | slideshowStart: "Έναρξη παρουσίασης", 15 | slideshowStop: "Παύση παρουσίασης" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-lv.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Latvian (lv) 4 | translated by: Matiss Roberts Treinis 5 | site: x0.lv 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "attēls {current} no {total}", 9 | previous: "iepriekšējais", 10 | next: "nākamais", 11 | close: "aizvērt", 12 | xhrError: "Neizdevās ielādēt saturu.", 13 | imgError: "Neizdevās ielādēt attēlu.", 14 | slideshowStart: "sākt slaidrādi", 15 | slideshowStop: "apturēt slaidrādi" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-ru.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Russian (ru) 4 | translated by: Marfa 5 | site: themarfa.name 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "изображение {current} из {total}", 9 | previous: "назад", 10 | next: "вперёд", 11 | close: "закрыть", 12 | xhrError: "Не удалось загрузить содержимое.", 13 | imgError: "Не удалось загрузить изображение.", 14 | slideshowStart: "начать слайд-шоу", 15 | slideshowStop: "остановить слайд-шоу" 16 | }); -------------------------------------------------------------------------------- /nikola/data/themes/base/assets/js/fancydates.js: -------------------------------------------------------------------------------- 1 | function fancydates(fanciness, date_format) { 2 | if (fanciness == 0) { 3 | return; 4 | } 5 | 6 | dates = $('time.published.dt-published'); 7 | 8 | i = 0; 9 | l = dates.length; 10 | 11 | for (i = 0; i < l; i++) { 12 | d = moment(dates[i].attributes.datetime.value); 13 | if (fanciness == 1) { 14 | o = d.local().format(date_format); 15 | } else { 16 | o = d.fromNow(); 17 | } 18 | dates[i].innerHTML = o; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /bower_components/bootstrap/dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-bg.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Bulgarian (bg) 4 | translated by: Marian M.Bida 5 | site: webmax.bg 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "изображение {current} от {total}", 9 | previous: "предишна", 10 | next: "следваща", 11 | close: "затвори", 12 | xhrError: "Неуспешно зареждане на съдържанието.", 13 | imgError: "Неуспешно зареждане на изображението.", 14 | slideshowStart: "пусни слайд-шоу", 15 | slideshowStop: "спри слайд-шоу" 16 | }); 17 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/set.js: -------------------------------------------------------------------------------- 1 | export function set (config) { 2 | var prop, i; 3 | for (i in config) { 4 | prop = config[i]; 5 | if (typeof prop === 'function') { 6 | this[i] = prop; 7 | } else { 8 | this['_' + i] = prop; 9 | } 10 | } 11 | // Lenient ordinal parsing accepts just a number in addition to 12 | // number + (possibly) stuff coming from _ordinalParseLenient. 13 | this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + (/\d{1,2}/).source); 14 | } 15 | -------------------------------------------------------------------------------- /snapcraft/nikola.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export HOME=$SNAP_USER_DATA 4 | 5 | export I18NPATH=$SNAP/usr/share/i18n 6 | export LOCPATH=$SNAP_USER_DATA 7 | 8 | APPLANG=en_US 9 | APPENC=UTF-8 10 | APPLOC="$APPLANG.$APPENC" 11 | 12 | # generate a locale so we get properly working charsets and graphics 13 | if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then 14 | localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC 15 | fi 16 | 17 | export LC_ALL=$APPLOC 18 | export LANG=$APPLOC 19 | export LANGUAGE=${APPLANG%_*} 20 | 21 | $SNAP/usr/bin/nikola "$@" 22 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-ro.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Romanian (ro) 4 | translated by: shurub3l 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "imagine {current} din {total}", 8 | previous: "precedenta", 9 | next: "următoarea", 10 | close: "închideți", 11 | xhrError: "Acest conținut nu poate fi încărcat.", 12 | imgError: "Această imagine nu poate fi încărcată", 13 | slideshowStart: "începeți prezentarea (slideshow)", 14 | slideshowStop: "opriți prezentarea (slideshow)" 15 | }); -------------------------------------------------------------------------------- /snapcraft/edge/requirements.txt: -------------------------------------------------------------------------------- 1 | Markdown>=2.4.0 2 | Jinja2>=2.7.2 3 | pyphen>=0.9.1 4 | micawber>=0.3.0 5 | pygal>=2.0.0 6 | typogrify>=2.0.4 7 | phpserialize>=1.3 8 | webassets>=0.10.1 9 | ghp-import2>=1.0.0 10 | ws4py==0.3.5 11 | watchdog==0.8.3 12 | doit>=0.28.0,<=0.29.0 13 | Pygments>=1.6 14 | python-dateutil>=2.4.0 15 | docutils>=0.12 16 | mako>=1.0.0 17 | unidecode>=0.04.16 18 | lxml>=3.3.5 19 | Yapsy>=1.11.223 20 | PyRSS2Gen>=1.1 21 | logbook>=0.7.0 22 | blinker>=1.3 23 | setuptools>=5.4.1 24 | natsort>=3.5.2 25 | requests>=2.2.0 26 | husl>=4.0.2 27 | piexif>=1.0.3 28 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/.csslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "adjoining-classes": false, 3 | "box-sizing": false, 4 | "box-model": false, 5 | "compatible-vendor-prefixes": false, 6 | "floats": false, 7 | "font-sizes": false, 8 | "gradients": false, 9 | "important": false, 10 | "known-properties": false, 11 | "outline-none": false, 12 | "qualified-headings": false, 13 | "regex-selectors": false, 14 | "shorthand": false, 15 | "text-indent": false, 16 | "unique-headings": false, 17 | "universal-selector": false, 18 | "unqualified-attributes": false 19 | } 20 | -------------------------------------------------------------------------------- /snapcraft/edge/script/nikola.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export HOME=$SNAP_USER_DATA 4 | 5 | export I18NPATH=$SNAP/usr/share/i18n 6 | export LOCPATH=$SNAP_USER_DATA 7 | 8 | APPLANG=en_US 9 | APPENC=UTF-8 10 | APPLOC="$APPLANG.$APPENC" 11 | 12 | # generate a locale so we get properly working charsets and graphics 13 | if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then 14 | localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC 15 | fi 16 | 17 | export LC_ALL=$APPLOC 18 | export LANG=$APPLOC 19 | export LANGUAGE=${APPLANG%_*} 20 | 21 | $SNAP/usr/bin/nikola "$@" 22 | -------------------------------------------------------------------------------- /snapcraft/stable/requirements.txt: -------------------------------------------------------------------------------- 1 | Markdown>=2.4.0 2 | Jinja2>=2.7.2 3 | pyphen>=0.9.1 4 | micawber>=0.3.0 5 | pygal>=2.0.0 6 | typogrify>=2.0.4 7 | phpserialize>=1.3 8 | webassets>=0.10.1 9 | ghp-import2>=1.0.0 10 | ws4py==0.3.5 11 | watchdog==0.8.3 12 | doit>=0.28.0,<=0.29.0 13 | Pygments>=1.6 14 | python-dateutil>=2.4.0 15 | docutils>=0.12 16 | mako>=1.0.0 17 | unidecode>=0.04.16 18 | lxml>=3.3.5 19 | Yapsy>=1.11.223 20 | PyRSS2Gen>=1.1 21 | logbook>=0.7.0 22 | blinker>=1.3 23 | setuptools>=5.4.1 24 | natsort>=3.5.2 25 | requests>=2.2.0 26 | husl>=4.0.2 27 | piexif>=1.0.3 28 | -------------------------------------------------------------------------------- /snapcraft/stable/script/nikola.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export HOME=$SNAP_USER_DATA 4 | 5 | export I18NPATH=$SNAP/usr/share/i18n 6 | export LOCPATH=$SNAP_USER_DATA 7 | 8 | APPLANG=en_US 9 | APPENC=UTF-8 10 | APPLOC="$APPLANG.$APPENC" 11 | 12 | # generate a locale so we get properly working charsets and graphics 13 | if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then 14 | localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC 15 | fi 16 | 17 | export LC_ALL=$APPLOC 18 | export LANG=$APPLOC 19 | export LANGUAGE=${APPLANG%_*} 20 | 21 | $SNAP/bin/nikola "$@" 22 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-pl.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Polski (pl) 4 | translated by: Tomasz Wasiński 5 | site: 2bevisible.pl 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "{current}. obrazek z {total}", 9 | previous: "Poprzedni", 10 | next: "Następny", 11 | close: "Zamknij", 12 | xhrError: "Nie udało się załadować treści.", 13 | imgError: "Nie udało się załadować obrazka.", 14 | slideshowStart: "rozpocznij pokaz slajdów", 15 | slideshowStop: "zatrzymaj pokaz slajdów" 16 | }); -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-fr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: French (fr) 4 | translated by: oaubert 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "image {current} sur {total}", 8 | previous: "précédente", 9 | next: "suivante", 10 | close: "fermer", 11 | xhrError: "Impossible de charger ce contenu.", 12 | imgError: "Impossible de charger cette image.", 13 | slideshowStart: "démarrer la présentation", 14 | slideshowStop: "arrêter la présentation" 15 | }); 16 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/list.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="base.tmpl"/> 3 | 4 | <%block name="content"> 5 |
6 |
7 |

${title|h}

8 |
9 | %if items: 10 |
    11 | % for text, link, count in items: 12 |
  • ${text|h} 13 | % if count: 14 | (${count}) 15 | % endif 16 | % endfor 17 |
18 | %else: 19 |

${messages("Nothing found.")}

20 | %endif 21 |
22 | 23 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-uk.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery ColorBox language configuration 3 | language: Ukrainian (uk) 4 | translated by: Andrew 5 | http://acisoftware.com.ua 6 | */ 7 | jQuery.extend(jQuery.colorbox.settings, { 8 | current: "зображення {current} з {total}", 9 | previous: "попереднє", 10 | next: "наступне", 11 | close: "закрити", 12 | xhrError: "Не вдалося завантажити вміст.", 13 | imgError: "Не вдалося завантажити зображення.", 14 | slideshowStart: "почати слайд-шоу", 15 | slideshowStop: "зупинити слайд-шоу" 16 | }); -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/border-radius.less: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | .border-top-radius(@radius) { 4 | border-top-right-radius: @radius; 5 | border-top-left-radius: @radius; 6 | } 7 | .border-right-radius(@radius) { 8 | border-bottom-right-radius: @radius; 9 | border-top-right-radius: @radius; 10 | } 11 | .border-bottom-radius(@radius) { 12 | border-bottom-right-radius: @radius; 13 | border-bottom-left-radius: @radius; 14 | } 15 | .border-left-radius(@radius) { 16 | border-bottom-left-radius: @radius; 17 | border-top-left-radius: @radius; 18 | } 19 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/reset-text.less: -------------------------------------------------------------------------------- 1 | .reset-text() { 2 | font-family: @font-family-base; 3 | // We deliberately do NOT reset font-size. 4 | font-style: normal; 5 | font-weight: normal; 6 | letter-spacing: normal; 7 | line-break: auto; 8 | line-height: @line-height-base; 9 | text-align: left; // Fallback for where `start` is not supported 10 | text-align: start; 11 | text-decoration: none; 12 | text-shadow: none; 13 | text-transform: none; 14 | white-space: normal; 15 | word-break: normal; 16 | word-spacing: normal; 17 | word-wrap: normal; 18 | } 19 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-my.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Myanmar (my) 4 | translated by: Yan Naing 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "ပုံ {total} မှာ {current} မြောက်ပုံ", 8 | previous: "ရှေ့သို့", 9 | next: "နောက်သို့", 10 | close: "ပိတ်မည်", 11 | xhrError: "ပါဝင်သော အကြောင်းအရာများ ဖော်ပြရာတွင် အနည်းငယ် ချို့ယွင်းမှုရှိနေပါသည်", 12 | imgError: "ပုံပြသရာတွင် အနည်းငယ် ချို့ယွင်းချက် ရှိနေပါသည်", 13 | slideshowStart: "ပုံများ စတင်ပြသမည်", 14 | slideshowStop: "ပုံပြသခြင်း ရပ်ဆိုင်မည်" 15 | }); 16 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/authors.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'base.tmpl' %} 3 | 4 | {% block content %} 5 |
6 | {% if items %} 7 |

{{ messages("Authors") }}

8 |
    9 | {% for text, link in items %} 10 | {% if text not in hidden_authors %} 11 |
  • {{ text|e }}
  • 12 | {% endif %} 13 | {% endfor %} 14 |
15 | {% endif %} 16 |
17 | {% endblock %} 18 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/crumbs.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | 3 | {% macro bar(crumbs) %} 4 | {% if crumbs %} 5 | 18 | {% endif %} 19 | {% endmacro %} 20 | -------------------------------------------------------------------------------- /tests/test_plugin_importing.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals, absolute_import 3 | 4 | import os 5 | import sys 6 | 7 | 8 | import unittest 9 | 10 | 11 | class ImportPluginsTest(unittest.TestCase): 12 | def test_importing_command_import_wordpress(self): 13 | import nikola.plugins.command.import_wordpress # NOQA 14 | 15 | def test_importing_compile_rest(self): 16 | import nikola.plugins.compile.rest # NOQA 17 | 18 | def test_importing_plugin_compile_markdown(self): 19 | import nikola.plugins.compile.markdown # NOQA 20 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-sr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Serbian (sr) 4 | translated by: Sasa Stefanovic (baguje.com) 5 | */ 6 | jQuery.extend(jQuery.colorbox.settings, { 7 | current: "Slika {current} od {total}", 8 | previous: "Prethodna", 9 | next: "Sledeća", 10 | close: "Zatvori", 11 | xhrError: "Neuspešno učitavanje sadržaja.", 12 | imgError: "Neuspešno učitavanje slike.", 13 | slideshowStart: "Pokreni slideshow", 14 | slideshowStop: "Zaustavi slideshow" 15 | }); 16 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-tr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Turkish (tr) 4 | translated by: Caner ÖNCEL 5 | site: egonomik.com 6 | 7 | edited by: Sinan Eldem 8 | www.sinaneldem.com.tr 9 | */ 10 | jQuery.extend(jQuery.colorbox.settings, { 11 | current: "Görsel {current} / {total}", 12 | previous: "Önceki", 13 | next: "Sonraki", 14 | close: "Kapat", 15 | xhrError: "İçerik yüklenirken hata meydana geldi.", 16 | imgError: "Resim yüklenirken hata meydana geldi.", 17 | slideshowStart: "Slaytı Başlat", 18 | slideshowStop: "Slaytı Durdur" 19 | }); 20 | -------------------------------------------------------------------------------- /snapcraft/requirements.txt: -------------------------------------------------------------------------------- 1 | Markdown>=2.4.0 2 | Jinja2>=2.7.2 3 | pyphen>=0.9.1 4 | micawber>=0.3.0 5 | pygal>=2.0.0 6 | typogrify>=2.0.4 7 | phpserialize>=1.3 8 | webassets>=0.10.1 9 | ghp-import2>=1.0.0 10 | ws4py==0.3.5 11 | watchdog==0.8.3 12 | doit>=0.28.0,<=0.29.0 13 | Pygments>=1.6 14 | python-dateutil>=2.4.0 15 | docutils>=0.12 16 | mako>=1.0.0 17 | unidecode>=0.04.16 18 | lxml>=3.3.5 19 | Yapsy>=1.11.223 20 | PyRSS2Gen>=1.1 21 | logbook>=0.7.0 22 | blinker>=1.3 23 | setuptools>=5.4.1 24 | natsort>=3.5.2 25 | requests>=2.2.0 26 | husl>=4.0.2 27 | piexif>=1.0.3 28 | phpserialize==1.3 29 | webassets==0.12.0 30 | 31 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/comments_helper_googleplus.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%def name="comment_form(url, title, identifier)"> 3 | 4 |
8 |
9 | 10 | 11 | <%def name="comment_link(link, identifier)"> 12 |
13 | 14 | 15 | 16 | <%def name="comment_link_script()"> 17 | 18 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/post_list_directive.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%block name="content"> 3 | 4 |
5 | %if posts: 6 |
    7 | % for post in posts: 8 |
  • 9 | ${post.formatted_date(date_format)|h} 10 |   11 | ${post.title(lang)|h} 12 |
  • 13 | % endfor 14 |
15 | %endif 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/list.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'base.tmpl' %} 3 | 4 | {% block content %} 5 |
6 |
7 |

{{ title|e }}

8 |
9 | {% if items %} 10 |
    11 | {% for text, link, count in items %} 12 |
  • {{ text|e }} 13 | {% if count %} 14 | ({{ count }}) 15 | {% endif %} 16 | {% endfor %} 17 |
18 | {% else %} 19 |

{{ messages("Nothing found.") }}

20 | {% endif %} 21 |
22 | {% endblock %} 23 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/annotation_helper.tmpl: -------------------------------------------------------------------------------- 1 | <%def name="css()"> 2 | 3 | 4 | 5 | <%def name="code()"> 6 | 7 | 8 | 16 | 17 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/pagination.less: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: @padding-vertical @padding-horizontal; 8 | font-size: @font-size; 9 | line-height: @line-height; 10 | } 11 | &:first-child { 12 | > a, 13 | > span { 14 | .border-left-radius(@border-radius); 15 | } 16 | } 17 | &:last-child { 18 | > a, 19 | > span { 20 | .border-right-radius(@border-radius); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/utils/compare-arrays.js: -------------------------------------------------------------------------------- 1 | import toInt from './to-int'; 2 | 3 | // compare two arrays, return the number of differences 4 | export default function compareArrays(array1, array2, dontConvert) { 5 | var len = Math.min(array1.length, array2.length), 6 | lengthDiff = Math.abs(array1.length - array2.length), 7 | diffs = 0, 8 | i; 9 | for (i = 0; i < len; i++) { 10 | if ((dontConvert && array1[i] !== array2[i]) || 11 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { 12 | diffs++; 13 | } 14 | } 15 | return diffs + lengthDiff; 16 | } 17 | -------------------------------------------------------------------------------- /bower_components/jquery/src/css/var/swap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // A method for quickly swapping in/out CSS properties to get correct calculations. 4 | return function( elem, options, callback, args ) { 5 | var ret, name, 6 | old = {}; 7 | 8 | // Remember the old values, and insert the new ones 9 | for ( name in options ) { 10 | old[ name ] = elem.style[ name ]; 11 | elem.style[ name ] = options[ name ]; 12 | } 13 | 14 | ret = callback.apply( elem, args || [] ); 15 | 16 | // Revert the old values 17 | for ( name in options ) { 18 | elem.style[ name ] = old[ name ]; 19 | } 20 | 21 | return ret; 22 | }; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/annotation_helper.tmpl: -------------------------------------------------------------------------------- 1 | {% macro css() %} 2 | 3 | {% endmacro %} 4 | 5 | {% macro code() %} 6 | 7 | 8 | 16 | {% endmacro %} 17 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/comments_helper_googleplus.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% macro comment_form(url, title, identifier) %} 3 | 4 |
8 |
9 | {% endmacro %} 10 | 11 | {% macro comment_link(link, identifier) %} 12 |
13 | 14 | {% endmacro %} 15 | 16 | {% macro comment_link_script() %} 17 | {% endmacro %} 18 | -------------------------------------------------------------------------------- /bower_components/jquery/src/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "quotmark": "double", 10 | "undef": true, 11 | "unused": true, 12 | 13 | "evil": true, 14 | "sub": true, 15 | 16 | // Support: IE < 10, Android < 4.1 17 | // The above browsers are failing a lot of tests in the ES5 18 | // test suite at http://test262.ecmascript.org. 19 | "es3": true, 20 | 21 | "globals": { 22 | "window": true, 23 | "JSON": false, 24 | 25 | "jQuery": true, 26 | "define": false, 27 | "module": false, 28 | "noGlobal": true 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /bower_components/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | 5 | // Define the hook, we'll check on the first run if it's really needed. 6 | return { 7 | get: function() { 8 | if ( conditionFn() ) { 9 | 10 | // Hook not needed (or it's not possible to use it due 11 | // to missing dependency), remove it. 12 | delete this.get; 13 | return; 14 | } 15 | 16 | // Hook needed; redefine it so that the support test is not executed again. 17 | return ( this.get = hookFn ).apply( this, arguments ); 18 | } 19 | }; 20 | } 21 | 22 | return addGetHookIf; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/duration/abs.js: -------------------------------------------------------------------------------- 1 | var mathAbs = Math.abs; 2 | 3 | export function abs () { 4 | var data = this._data; 5 | 6 | this._milliseconds = mathAbs(this._milliseconds); 7 | this._days = mathAbs(this._days); 8 | this._months = mathAbs(this._months); 9 | 10 | data.milliseconds = mathAbs(data.milliseconds); 11 | data.seconds = mathAbs(data.seconds); 12 | data.minutes = mathAbs(data.minutes); 13 | data.hours = mathAbs(data.hours); 14 | data.months = mathAbs(data.months); 15 | data.years = mathAbs(data.years); 16 | 17 | return this; 18 | } 19 | -------------------------------------------------------------------------------- /bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "1.12.4", 16 | "_release": "1.12.4", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "1.12.4", 20 | "commit": "5e89585e0121e72ff47de177c5ef604f3089a53d" 21 | }, 22 | "_source": "https://github.com/jquery/jquery-dist.git", 23 | "_target": "<2.0.0", 24 | "_originalSource": "jquery" 25 | } -------------------------------------------------------------------------------- /bower_components/jquery/src/data/var/acceptData.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | return function( elem ) { 9 | var noData = jQuery.noData[ ( elem.nodeName + " " ).toLowerCase() ], 10 | nodeType = +elem.nodeType || 1; 11 | 12 | // Do not set data on non-element DOM nodes because it will not be cleared (#8335). 13 | return nodeType !== 1 && nodeType !== 9 ? 14 | false : 15 | 16 | // Nodes accept data unless otherwise specified; rejection can be conditional 17 | !noData || noData !== true && elem.getAttribute( "classid" ) === noData; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /scripts/getpyver.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # For internal use only. 3 | """Return the Python version in a sane format (vX.Y). 4 | 5 | Also available a less sane format (X.Y) if `short` is provided 6 | as an argument. 7 | 8 | Or ([v]X.Y.Z) if `long` is provided. 9 | 10 | $ getpyver.py 11 | v2.7 12 | $ getpyver.py short 13 | 2.7 14 | $ getpyver.py long 15 | v2.7.6 16 | $ getpyver.py long short 17 | 2.7.6 18 | 19 | """ 20 | import sys 21 | limit = 3 if 'long' in sys.argv else 2 22 | if 'short' in sys.argv: 23 | print(".".join([str(i) for i in sys.version_info[0:limit]])) 24 | else: 25 | print("v" + (".".join([str(i) for i in sys.version_info[0:limit]]))) 26 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/post_list_directive.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% block content %} 3 | 4 |
5 | {% if posts %} 6 |
    7 | {% for post in posts %} 8 |
  • 9 | {{ post.formatted_date(date_format)|e }} 10 |   11 | {{ post.title(lang)|e }} 12 |
  • 13 | {% endfor %} 14 |
15 | {% endif %} 16 |
17 | 18 | {% endblock %} 19 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/authorindex.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="index.tmpl"/> 3 | 4 | <%block name="extra_head"> 5 | ${parent.extra_head()} 6 | %if len(tranlations) > 1 and generate_atom: 7 | %for language in sorted(translations): 8 | 9 | %endfor 10 | %elif generate_atom: 11 | 12 | %endif 13 | 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/panels.less: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) { 4 | border-color: @border; 5 | 6 | & > .panel-heading { 7 | color: @heading-text-color; 8 | background-color: @heading-bg-color; 9 | border-color: @heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: @border; 13 | } 14 | .badge { 15 | color: @heading-bg-color; 16 | background-color: @heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: @border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /bower_components/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | var 2 | 3 | // Map over jQuery in case of overwrite 4 | _jQuery = window.jQuery, 5 | 6 | // Map over the $ in case of overwrite 7 | _$ = window.$; 8 | 9 | jQuery.noConflict = function( deep ) { 10 | if ( window.$ === jQuery ) { 11 | window.$ = _$; 12 | } 13 | 14 | if ( deep && window.jQuery === jQuery ) { 15 | window.jQuery = _jQuery; 16 | } 17 | 18 | return jQuery; 19 | }; 20 | 21 | // Expose jQuery and $ identifiers, even in 22 | // AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 23 | // and CommonJS for browser emulators (#13566) 24 | if ( !noGlobal ) { 25 | window.jQuery = window.$ = jQuery; 26 | } 27 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/archiveindex.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="index.tmpl"/> 3 | 4 | <%block name="extra_head"> 5 | ${parent.extra_head()} 6 | %if len(translations) > 1 and generate_atom: 7 | %for language in sorted(translations): 8 | 9 | %endfor 10 | %elif generate_atom: 11 | 12 | %endif 13 | 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/create/date-from-array.js: -------------------------------------------------------------------------------- 1 | export function createDate (y, m, d, h, M, s, ms) { 2 | //can't just apply() to create a date: 3 | //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply 4 | var date = new Date(y, m, d, h, M, s, ms); 5 | 6 | //the date constructor doesn't accept years < 1970 7 | if (y < 1970) { 8 | date.setFullYear(y); 9 | } 10 | return date; 11 | } 12 | 13 | export function createUTCDate (y) { 14 | var date = new Date(Date.UTC.apply(null, arguments)); 15 | if (y < 1970) { 16 | date.setUTCFullYear(y); 17 | } 18 | return date; 19 | } 20 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/create/parsing-flags.js: -------------------------------------------------------------------------------- 1 | function defaultParsingFlags() { 2 | // We need to deep clone this object. 3 | return { 4 | empty : false, 5 | unusedTokens : [], 6 | unusedInput : [], 7 | overflow : -2, 8 | charsLeftOver : 0, 9 | nullInput : false, 10 | invalidMonth : null, 11 | invalidFormat : false, 12 | userInvalidated : false, 13 | iso : false 14 | }; 15 | } 16 | 17 | export default function getParsingFlags(m) { 18 | if (m._pf == null) { 19 | m._pf = defaultParsingFlags(); 20 | } 21 | return m._pf; 22 | } 23 | -------------------------------------------------------------------------------- /docs/sphinx/index.txt: -------------------------------------------------------------------------------- 1 | Nikola Documentation 2 | ==================== 3 | 4 | Those are the docs for the current GitHub master. It might be incompatible 5 | with the stable release. The docs for the stable release are available `on 6 | the Nikola website `_. 7 | 8 | Please note that some examples of Nikola-specific reST syntax might not be 9 | visible in this version of Nikola docs. 10 | 11 | .. toctree:: 12 | :maxdepth: 5 13 | 14 | manual 15 | creating-a-site 16 | Creating a Theme 17 | theming 18 | extending 19 | internals 20 | social_buttons 21 | path_handlers 22 | Code Documentation 23 | 24 | -------------------------------------------------------------------------------- /nikola/data/themes/base/templates/list_post.tmpl: -------------------------------------------------------------------------------- 1 | ## -*- coding: utf-8 -*- 2 | <%inherit file="base.tmpl"/> 3 | 4 | <%block name="content"> 5 |
6 |
7 |

${title|h}

8 |
9 | %if posts: 10 |
    11 | % for post in posts: 12 |
  • ${post.title()|h}
  • 13 | % endfor 14 |
15 | %else: 16 |

${messages("No posts found.")}

17 | %endif 18 |
19 | 20 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins package 2 | ====================== 3 | 4 | Subpackages 5 | ----------- 6 | 7 | .. toctree:: 8 | 9 | nikola.plugins.command 10 | nikola.plugins.compile 11 | nikola.plugins.misc 12 | nikola.plugins.task 13 | nikola.plugins.template 14 | 15 | Submodules 16 | ---------- 17 | 18 | nikola.plugins.basic_import module 19 | ---------------------------------- 20 | 21 | .. automodule:: nikola.plugins.basic_import 22 | :members: 23 | :undoc-members: 24 | :show-inheritance: 25 | 26 | 27 | Module contents 28 | --------------- 29 | 30 | .. automodule:: nikola.plugins 31 | :members: 32 | :undoc-members: 33 | :show-inheritance: 34 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/authorindex.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'index.tmpl' %} 3 | 4 | {% block extra_head %} 5 | {{ super() }} 6 | {% if tranlations|length > 1 and generate_atom %} 7 | {% for language in translations|sort %} 8 | 9 | {% endfor %} 10 | {% elif generate_atom %} 11 | 12 | {% endif %} 13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/hide-text.less: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (has been removed in v4) 10 | .hide-text() { 11 | font: ~"0/0" a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | .text-hide() { 20 | .hide-text(); 21 | } 22 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/timestamp.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex'; 3 | import { addParseToken } from '../parse/token'; 4 | import toInt from '../utils/to-int'; 5 | 6 | // FORMATTING 7 | 8 | addFormatToken('X', 0, 0, 'unix'); 9 | addFormatToken('x', 0, 0, 'valueOf'); 10 | 11 | // PARSING 12 | 13 | addRegexToken('x', matchSigned); 14 | addRegexToken('X', matchTimestamp); 15 | addParseToken('X', function (input, array, config) { 16 | config._d = new Date(parseFloat(input, 10) * 1000); 17 | }); 18 | addParseToken('x', function (input, array, config) { 19 | config._d = new Date(toInt(input)); 20 | }); 21 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/archiveindex.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'index.tmpl' %} 3 | 4 | {% block extra_head %} 5 | {{ super() }} 6 | {% if translations|length > 1 and generate_atom %} 7 | {% for language in translations|sort %} 8 | 9 | {% endfor %} 10 | {% elif generate_atom %} 11 | 12 | {% endif %} 13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /scripts/theme_snapshot: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | 3 | # A script to install a theme, configure the default site to use it, 4 | # generate it, and then take a screenshot of the page. 5 | 6 | #This is a hack. 7 | 8 | theme_name=$1 9 | tempsite=temp_$theme_name 10 | nikola init -q $tempsite 11 | cd $tempsite 12 | doit install_theme -n $theme_name 13 | sed -i s/\'site\'/\'$theme_name\'/g conf.py 14 | sed -i s/http:\/\/nikola\.ralsina\.com\.ar/http:\/\/${theme_name}\.nikola\.ralsina\.com\.ar/g conf.py 15 | echo 'DEPLOY_COMMANDS = [ r"rsync -rav --delete output/* ralsina@lateral.netmanagers.com.ar:/srv/www/'${theme_name}'" ]' >> conf.py 16 | doit && doit deploy 17 | capty http://${theme_name}.nikola.ralsina.com.ar ../${theme_name}.png 18 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/list-group.less: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | .list-group-item-variant(@state; @background; @color) { 4 | .list-group-item-@{state} { 5 | color: @color; 6 | background-color: @background; 7 | 8 | a&, 9 | button& { 10 | color: @color; 11 | 12 | .list-group-item-heading { 13 | color: inherit; 14 | } 15 | 16 | &:hover, 17 | &:focus { 18 | color: @color; 19 | background-color: darken(@background, 5%); 20 | } 21 | &.active, 22 | &.active:hover, 23 | &.active:focus { 24 | color: #fff; 25 | background-color: @color; 26 | border-color: @color; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /bower_components/jquery-colorbox/i18n/jquery.colorbox-fa.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Colorbox language configuration 3 | language: Persian (Farsi) 4 | translated by: Mahdi Jaberzadeh Ansari (MJZSoft) 5 | site: www.mjzsoft.ir 6 | email: mahdijaberzadehansari (at) yahoo.co.uk 7 | Please note : Persian language is right to left like arabic. 8 | */ 9 | jQuery.extend(jQuery.colorbox.settings, { 10 | current: "تصویر {current} از {total}", 11 | previous: "قبلی", 12 | next: "بعدی", 13 | close: "بستن", 14 | xhrError: "متاسفانه محتویات مورد نظر قابل نمایش نیست.", 15 | imgError: "متاسفانه بارگذاری این عکس با مشکل مواجه شده است.", 16 | slideshowStart: "آغاز نمایش خودکار", 17 | slideshowStop: "توقف نمایش خودکار" 18 | }); 19 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/moment/moment.js: -------------------------------------------------------------------------------- 1 | import { createLocal } from '../create/local'; 2 | import { createUTC } from '../create/utc'; 3 | import { createInvalid } from '../create/valid'; 4 | import { isMoment } from './constructor'; 5 | import { min, max } from './min-max'; 6 | import momentPrototype from './prototype'; 7 | 8 | function createUnix (input) { 9 | return createLocal(input * 1000); 10 | } 11 | 12 | function createInZone () { 13 | return createLocal.apply(null, arguments).parseZone(); 14 | } 15 | 16 | export { 17 | min, 18 | max, 19 | isMoment, 20 | createUTC, 21 | createUnix, 22 | createLocal, 23 | createInZone, 24 | createInvalid, 25 | momentPrototype 26 | }; 27 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/locale/formats.js: -------------------------------------------------------------------------------- 1 | export var defaultLongDateFormat = { 2 | LTS : 'h:mm:ss A', 3 | LT : 'h:mm A', 4 | L : 'MM/DD/YYYY', 5 | LL : 'MMMM D, YYYY', 6 | LLL : 'MMMM D, YYYY h:mm A', 7 | LLLL : 'dddd, MMMM D, YYYY h:mm A' 8 | }; 9 | 10 | export function longDateFormat (key) { 11 | var format = this._longDateFormat[key], 12 | formatUpper = this._longDateFormat[key.toUpperCase()]; 13 | 14 | if (format || !formatUpper) { 15 | return format; 16 | } 17 | 18 | this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { 19 | return val.slice(1); 20 | }); 21 | 22 | return this._longDateFormat[key]; 23 | } 24 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/minute.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { MINUTE } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('m', ['mm', 2], 0, 'minute'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('minute', 'm'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('m', match1to2); 19 | addRegexToken('mm', match1to2, match2); 20 | addParseToken(['m', 'mm'], MINUTE); 21 | 22 | // MOMENTS 23 | 24 | export var getSetMinute = makeGetSet('Minutes', false); 25 | -------------------------------------------------------------------------------- /bower_components/moment/src/lib/units/second.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { SECOND } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('s', ['ss', 2], 0, 'second'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('second', 's'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('s', match1to2); 19 | addRegexToken('ss', match1to2, match2); 20 | addParseToken(['s', 'ss'], SECOND); 21 | 22 | // MOMENTS 23 | 24 | export var getSetSecond = makeGetSet('Seconds', false); 25 | -------------------------------------------------------------------------------- /scripts/document_path_handlers.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from __future__ import print_function, unicode_literals 4 | from nikola import nikola 5 | n = nikola.Nikola() 6 | n.init_plugins() 7 | 8 | print(""".. title: Path Handlers for Nikola 9 | .. slug: path-handlers 10 | .. author: The Nikola Team 11 | 12 | Nikola supports special links with the syntax ``link://kind/name``. In the templates you can also 13 | use ``_link(kind, name)`` Here is the description for all the supported kinds. 14 | 15 | .. class:: dl-horizontal 16 | """) 17 | 18 | for k in sorted(n.path_handlers.keys()): 19 | v = n.path_handlers[k] 20 | print(k) 21 | print('\n'.join(' ' + l.strip() for l in v.__doc__.splitlines())) 22 | print() 23 | -------------------------------------------------------------------------------- /bower_components/livereload-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "livereload-js", 3 | "version": "2.2.1", 4 | "main": "dist/livereload.js", 5 | "homepage": "http://livereload.com", 6 | "authors": [ 7 | "Andrey Tarantsov ", 8 | "David Kelso " 9 | ], 10 | "description": "LiveReload JS client - auto reload browser on changes", 11 | "keywords": [ 12 | "javascript", 13 | "livereload" 14 | ], 15 | "license": "MIT", 16 | "ignore": [ 17 | "Rakefile", 18 | "lib", 19 | "lib-cov", 20 | "src", 21 | "test", 22 | "**/.*", 23 | "node_modules", 24 | "bower_components", 25 | "tests" 26 | ], 27 | "moduleType": [ 28 | "globals" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | .clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /docs/sphinx/nikola.plugins.template.txt: -------------------------------------------------------------------------------- 1 | nikola.plugins.template package 2 | =============================== 3 | 4 | Submodules 5 | ---------- 6 | 7 | nikola.plugins.template.jinja module 8 | ------------------------------------ 9 | 10 | .. automodule:: nikola.plugins.template.jinja 11 | :members: 12 | :undoc-members: 13 | :show-inheritance: 14 | 15 | nikola.plugins.template.mako module 16 | ----------------------------------- 17 | 18 | .. automodule:: nikola.plugins.template.mako 19 | :members: 20 | :undoc-members: 21 | :show-inheritance: 22 | 23 | 24 | Module contents 25 | --------------- 26 | 27 | .. automodule:: nikola.plugins.template 28 | :members: 29 | :undoc-members: 30 | :show-inheritance: 31 | -------------------------------------------------------------------------------- /bower_components/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /bower_components/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = window.setTimeout( next, time ); 15 | hooks.stop = function() { 16 | window.clearTimeout( timeout ); 17 | }; 18 | } ); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | } ); 23 | -------------------------------------------------------------------------------- /nikola/data/themes/base-jinja/templates/list_post.tmpl: -------------------------------------------------------------------------------- 1 | {# -*- coding: utf-8 -*- #} 2 | {% extends 'base.tmpl' %} 3 | 4 | {% block content %} 5 |
6 |
7 |

{{ title|e }}

8 |
9 | {% if posts %} 10 |
    11 | {% for post in posts %} 12 |
  • {{ post.title()|e }}
  • 13 | {% endfor %} 14 |
15 | {% else %} 16 |

{{ messages("No posts found.") }}

17 | {% endif %} 18 |
19 | {% endblock %} 20 | --------------------------------------------------------------------------------