Skip to content
Branch: master
Find file History
baryluk Removed unused imports for fonts in cebong
It just adds to network roundtrips. Browser will download them even if they are not used. At least the CSS files will be downloaded (and will actually block other processing!). In some case browser will also download actual font files, even if they are not used, but this will usually be done asynchronously or after page is finished loading. But most of the time it is just a waste of bandwidth (but they are cached for 1y and could be used on other websites).

As a bonus I fixed some quotation issues of urls, because this is what I see in css documentation - https://developer.mozilla.org/en-US/docs/Web/CSS/@import

Next improvement would be to move this `@url import` into separate `link` statement in `base.html`, this way things can proceed in parallel more smoothly.

```html
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?subset=latin&family=Crimson+Text:400,400italic,600,600italic,700,700italic" type="text/css" importance="low" referrerpolicy="no-referrer" />
```

After that, and margin all `css` files, this would be really clean and fast theme! :)

PS. Google Fonts Service API allows fetching multiple css files together:


```html
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?subset=latin&family=Yanone+Kaffeesatz|Crimson+Text:400,400italic,600,600italic,700,700italic|Droid+Sans+Mono" type="text/css" importance="low" referrerpolicy="no-referrer" />
```

(and similarly using `@import url`).
Latest commit 57daf33 Mar 26, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
static Removed unused imports for fonts in cebong Mar 26, 2019
templates Replace 'PAGES' with 'pages' across all themes Mar 7, 2017
LICENSE.txt Added license and updated theme link Nov 18, 2012
README.markdown
screenshot-article.png Added cebong theme files Nov 18, 2012
screenshot-with-tagline.png
screenshot-without-tagline.png Added cebong theme files Nov 18, 2012

README.markdown

pelican-cebong-theme

This theme is focused on simplicity and solarized-looks, its structure was derived from the pelican's notmyidea theme, and I altered some stuff to look more like my old tumblr blog, which is pretty much solarized-like.

This theme is used for my pelican blog.

You can add a tagline below the title using SITETAGLINE, and add additional footer information with FOOTERTEXT

Screenshots

screenshot1 screenshot2 screenshot3

You can’t perform that action at this time.