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.)

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 UTF-8
Octocat-spinner-32 img Gradient fallback for older browsers (img/Modernizr). September 10, 2011
Octocat-spinner-32 js
Octocat-spinner-32 .gitignore Added unminified JS file. September 03, 2012
Octocat-spinner-32 README.markdown
Octocat-spinner-32 commentform.tpl
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
Octocat-spinner-32 content.tpl Initial version. July 27, 2011
Octocat-spinner-32 entries.tpl
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
Octocat-spinner-32 info.txt
Octocat-spinner-32 lang_cs.inc.php
Octocat-spinner-32 lang_cz.inc.php
Octocat-spinner-32 lang_de.inc.php
Octocat-spinner-32 lang_en.inc.php
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
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
Octocat-spinner-32 sidebar.tpl Some clearfixes just in case. May 29, 2012
Octocat-spinner-32 style.css
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.

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. Both are also included in the name of the .zip or .tar.gz files if you're using the GitHub download button to get the latest version.

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 img between header/search and navigation. It's a responsive images 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.
  • 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.