Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A new default theme/frontend template for Serendipity. (Discontinued repo, see README.)

Octocat-spinner-32 UTF-8 Sync Czech translations with s9y master branch. March 31, 2013
Octocat-spinner-32 img Gradient fallback for older browsers (img/Modernizr). September 10, 2011
Octocat-spinner-32 js Updated AccessifyHTML5 to latest version. May 04, 2013
Octocat-spinner-32 .gitignore Added unminified JS file. September 03, 2012
Octocat-spinner-32 README.markdown Include repo shutdown notice. May 11, 2013
Octocat-spinner-32 commentform.tpl Better markup for comment form options. November 14, 2012
Octocat-spinner-32 comments.tpl Fallback fix for CommentSpice if output is smartified, but Twitter wi… October 11, 2012
Octocat-spinner-32 comments_by_author.tpl Added block_level class to save some CSS performance pennies. October 11, 2012
Octocat-spinner-32 config.inc.php Default theme option imgstyle to plain images. March 14, 2013
Octocat-spinner-32 content.tpl Initial version. July 27, 2011
Octocat-spinner-32 entries.tpl Safer version of Smarty3 compatibility. January 21, 2013
Octocat-spinner-32 entries_archives.tpl Archive pages should probably be articles. July 23, 2012
Octocat-spinner-32 entries_summary.tpl Added block_level class to save some CSS performance pennies. October 11, 2012
Octocat-spinner-32 index.tpl New theme option: image styles March 14, 2013
Octocat-spinner-32 info.txt Bump date. May 04, 2013
Octocat-spinner-32 lang_cs.inc.php Sync Czech translations with s9y master branch. March 31, 2013
Octocat-spinner-32 lang_cz.inc.php Sync Czech translations with s9y master branch. March 31, 2013
Octocat-spinner-32 lang_de.inc.php New theme option: image styles March 14, 2013
Octocat-spinner-32 lang_en.inc.php New theme option: image styles March 14, 2013
Octocat-spinner-32 plugin_calendar.tpl Initial version. July 27, 2011
Octocat-spinner-32 plugin_categories.tpl Removed trailing spaces. April 10, 2012
Octocat-spinner-32 plugin_commentsearch_searchresults.tpl Added block_level class to save some CSS performance pennies. October 11, 2012
Octocat-spinner-32 plugin_contactform.tpl The contact form container should probably be an article. July 23, 2012
Octocat-spinner-32 plugin_findmore.tpl Some new styles for the findmore plugin (still incomplete). April 07, 2012
Octocat-spinner-32 plugin_staticpage.tpl Fixes static page date format, hat tip to @ophian. March 26, 2013
Octocat-spinner-32 plugin_staticpage_searchresults.tpl Added block_level class to save some CSS performance pennies. October 11, 2012
Octocat-spinner-32 plugin_staticpage_sidebar.tpl Initial version. July 27, 2011
Octocat-spinner-32 preview.png Added preview images. September 14, 2011
Octocat-spinner-32 preview_fullsize.jpg Added preview images. September 14, 2011
Octocat-spinner-32 preview_iframe.tpl Preview was referencing an old Modernizr version. March 09, 2013
Octocat-spinner-32 sidebar.tpl Some clearfixes just in case. May 29, 2012
Octocat-spinner-32 style.css New theme option: image styles March 14, 2013
Octocat-spinner-32 trackbacks.tpl Better description text for trackback preview. October 01, 2012
README.markdown

2k11 – A new default theme for Serendipity

2k11 is supposed to become the new default theme for the Serendipity (s9y) blog engine.

Important

Please note: Following the release of Serendipity 1.7, 2k11 development will be moved to the s9y core repository. This means that as of today (2013-05-11), this repository is discontinued and will receive no further updates.

If you are still using a version from this repository in your blog, please switch to the 2k11 version bundled with s9y 1.7 after upgrading, e.g. switch from 2k11-dev to 2k11 under “Manage Styles”. Note that this switch will not adopt your 2k11 theme options, so make sure to write them down before switching.


Disclaimer

This is the development branch of 2k11. This is still subject to (sometimes experimental) changes. I do not recommend using it in a production environment.

Testing

If you do want to test it, your blog needs to run at least s9y v1.6. Extract the downloaded archive. I recommend downloading a .zip or .tar.gz file from the Tags section rather than cloning the repo. Keep the folder name if you want to be able to test multiple versions or rename it to 2k11 to have just one version installed. Copy it to /templates/ and activate it in the s9y backend. (Might need a reload in the frontend.)

Note: If you used Bulletproof or a similar template with a customizable navigation, the global navigation in 2k11 will overwrite your current navigation. Please write down your navigation's URLs and link texts before switching to 2k11.

Reporting bugs

Please use the GitHub issue tracker or email to report bugs. Also make sure you include some kind of version number with your bug report -- a tag if you use a tagged version or the SHA hash of the commit if you use a forked/cloned GitHub version.

Please note that SHA hashes are no longer included in the name of the .zip or .tar.gz files if you're using the ZIP download button to get the latest version. You can get the SHA hash for any commit on the commit overview using the 'Copy SHA' button.

If you have a blog running said version, please also state your URL in your bug report.

Features

2k11 is a responsive HTML5 template. It has a fluid grid layout which adapts to the visitor's screen resolution, even on smaller screens down to smartphones. 2k11 looks plain and simple by design, hoping it will appeal to as many users as possible.

It is built using:

Layout options

2k11 supports three different layouts, activated by pushing sidebar plugins to the standard left/hidden/right sidebars in plugin management in the backend:

  • 3 columns, left + right sidebars
  • 2 columns, left sidebar only
  • 2 columns, right sidebar only

If you leave both sidebars empty, you'll get a layout which looks like 2 columns, right sidebar only – just without a sidebar. Also, the 3-column layout will display both sidebars on one side in small resolutions, effectively turning it into a 2-column layout in those resolutions.

Theme options

  • Date format: Sets a date format used globally in the theme, i.e. for entries, comments, trackbacks, static pages. Basically for anything controlled by the .tpl files provided by 2k11.
  • Header image: Pick an image from the s9y media database (or leave empty to omit). This will be added as a banner image between header/search and navigation. It's a responsive image only displayed in screen resolutions higher than 600 pixels. Should be 1120 pixels wide to work properly.
  • Google webfont: Pick one of five preselected webfonts or the 'none' option to use Helvetica/Arial. These webfonts are included via the Google webfonts API.
  • User stylesheet: Includes an additional stylesheet. Note that this must be called user.css and you have to create it manually in your template directory. Also note that both this and the Google webfont option add an additional HTTP request which might cause slight performance issues.
  • Image styles: Lets you choose how to style images in entries and static pages, basically any images from the media db that appear in the content area of the blog. Possible values: no border, simple border or shadow border. Implemented using a class on #content, so you could even overwrite .plain-images and/or .fancy-images in your user.css.
  • Comment references: Includes a link to related comment to comments which are replies to another comment, so you can scroll to referenced comment on click.
  • Navigation: Global navigation provided by s9y core. Switches to an (additionally added using JS) select as a pseudo dropdown menu on small screens. Automagically suppresses links if link text or URL is empty, also has an option to not emit the nav at all.

user.css Generator

Since changing the (desktop) layout isn't that easy for CSS novices, I have built a basic generator: 2k11 user.css generator.

Something went wrong with that request. Please try again.