phlow / simplicity Goto Github PK
View Code? Open in Web Editor NEWA free, flexible, superfast and easily customizable Jekyll Theme with no Javascript but beautiful typography.
Home Page: https://phlow.github.io/simplicity
A free, flexible, superfast and easily customizable Jekyll Theme with no Javascript but beautiful typography.
Home Page: https://phlow.github.io/simplicity
I noticed, that tables are not rendered satisfactorily.
And found a simple solution. Suggesting to include it either into the code or as customizing option to the documentation
There is a table-scss Github project.
https://github.com/jwebcat/tables-sass
_tables.scss
file from the scss directory of that project to the sass/05_layout directory of simplicity.:@import "tables"
to sass/00_layout.scss
(@ row 27)sass /04_typography/_general_typography.scss
to/* Tables
------------------------------------------------------------------- */
table{
@extend %table;
/* @extend %table-bordered; */
@extend %table-condensed;
font-family: $font-family-sans-serif;
font-size: .75em;}
/* stripes */
table tr:nth-of-type(even) {
background: rgba(0,0,0,.2)
}
td {
vertical-align: top;
}
That fits beautiful into the theme and to it philosophy as well.
More like a question than an issue.
Not quite sure why there's a differentiation of line item <li>
of the if forloop.last
affecting the subheading of a post (around line 24 of _layouts/archive.html
).
Shouldn't it simply be
`
I adjusted mine and it seems to behave correctly, unless I'm wrong...
https://github.com/dwlfrth/dwlfrth.github.io/blob/master/_layouts/archive.html#L31
When I type
Type bundle exec jekyll serve --config _config.yml,_config_dev.yml
I get:
Error: could not read file /Users/gpaulissen/Documents/GitHub/simplicity-gh-pages/vendor/bundle/gems/jekyll-3.8.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb: Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'vendor/bundle/gems/jekyll-3.8.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'vendor/bundle/gems/jekyll-3.8.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
The solutions is to add the vendor directory to the exclude tag in _config.yml:
exclude:
- .sass-cache
- Gemfile
- Gemfile.lock
- README.md
- INSTALL.md
- vendor
Links are broken in the navigation page
I checked site.url, site.baseurl from here.
Based on the links in the navigation page and the conditions here I am not sure how it is broken.
jekyll build
or jekyll serve
generates a cache directory - .jekyll-cache
This directory is being shown as an untracked directory. We shall gitignore this directory.
The user @carlsonsantana validate your site template "https://phlow.github.io/simplicity" and found these accessibility errors:
#tnav-menu > a
<a href="#">Navigation</a>
#tnav-share > a
<a href="#"><svg class="nav-icon" viewBox="...</a>
#tnav-search > a
<a href="https://phlow.github.io/simplicity/search/"><svg class="nav-icon" viewBox="...</a>
You can check these accessibility errors using pa11y.
You can view the full validation results in our website.
Let us say that there are 10 articles in total.
I feel that it is better if we hide "Show All Articles", if all the 10 articles end up getting displayed in the first page itself (when posts_with_teaser_limit: 1
and posts_list_limit: 15
- upto 16 can be displayed in first page).
Let me know what you think. I have a fix ready; I can submit a Pull request.
Hi Moritz.
Probably just a Jekyll n00b question, but can you explain how the font: import: command works in the config.yml file?
I've attempted adding 3 new google fonts to the theme using the syntax as supplied in config.yml (ie font: import: 'name: weight...')
I get the feeling from elsewhere online that I need to either upload the font files to the assets directory or at least directly call the google source url. However your theme assets directory doesn't already contain the OOTB font files (Roboto, Fira Sans etc), and I can't find an scss file that references any font source urls. So I can't see a relevant pattern that should be followed for this theme.
My additions to the config.yml are:
font:
import: 'Averia+Libre:400,700' // font-family-serif
import: 'Expletus+Sans:400,400italic,500,500italic,600,600italic,700,700italic' // header-font-family
import: 'Open+Sans:400,400italic,600,600italic,700,700italic' // base-font-family
Many thanks,
Jess
Looks awesome on local server but after pushing to github and building on netlify the site looks like sass is striped. Any ideas?
I'd like to use simplicity as a git subrepo. It would be nice if you could provide a branch (master?) without _posts
and _images
, so it's easier to handle and update.
The installation would become even easier by dropping the step:
Delete all files in _posts/ and images/.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.