ahmadajmi / type Goto Github PK
View Code? Open in Web Editor NEW๐ Minimal and Clean Free Jekyll Theme
Home Page: https://type-jekyll.aspirethemes.com/
License: MIT License
๐ Minimal and Clean Free Jekyll Theme
Home Page: https://type-jekyll.aspirethemes.com/
License: MIT License
Thank you for this beautiful template.
I am trying to create another page (that can be accessed from the sidebar) that also has a list view of the posts (I want to create a page with a list of podcast episodes, apart from the blog posts).
To start with, I tried to replicate the home page (blog list page), but was unable to do so.
I created a page named podcast.md
in the _pages directory
, and used the following code -
---
layout: default
title: Podcast
---
<div class='o-wrapper'>
<div class='o-grid'>
{% for post in paginator.posts %}
{% include post-card.liquid %}
{% endfor %}
</div>
<div class='o-grid'>
{% include pagination.html %}
</div>
</div>
But the rendered page (accessed from the sidebar) is empty.
Could someone please help me with what I am doing wrong?
Thank you
Improvement for #10
as the title says...
Hi,
this is a great theme -- thanks a lot for sharing! I have one question about the navigation bar. I understand that a link is generated for each page automatically... My question is how can you add a custom link to the nav bar?
Thanks!
I would love to see the theme in action, so if you are using Type, please share your blog URL? โค๏ธ
Hi,
do you have any plans to add support for dark mode on OSX?
Hello, I appreciate that you made this theme.
I wanna adapt new google web font to this theme, but I don't know how to do it.
I added
link href="https://fonts.googleapis.com/css?family=Nanum+Myeongjo:400,700,800&display=swap&subset=korean"
rel="stylesheet"
to head.html and
also added
google_fonts: "Nanum Myeongjo:400,700,800"
to _config.yml.
But I can't find the file to change font-family.
I have no idea what file to add font...
Please help me with this.
Thank you.
I am experiencing issues where long code lines in a code block can cause mobile browsers to overflow without scrollbars either in the view or the code block.
An example would be a code block like below:
import BackgroundTasks
...
BGTaskScheduler.shared.register(forTaskWithIdentifier: "com.demo.refresh", using: nil) { task in
let refreshAppTask = task as! BGAppRefreshTask
refreshAppTask.expirationHandler = {
}
...
task.setTaskCompleted(success: true)
}
...
I am attempted to fix the issue:
pre {
overflow: auto;
padding: double($base-spacing-unit);
margin-bottom: $base-spacing-unit;
font-size: $font-size-medium;
line-height: $line-height-medium;
white-space: pre-wrap;
display: inline-block;
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
But unsuccessfully.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
$ git clone https://github.com/aspirethemes/type.git
Cloning into 'type'...
remote: Enumerating objects: 174, done.
remote: Total 174 (delta 0), reused 0 (delta 0), pack-reused 174
Receiving objects: 100% (174/174), 614.92 KiB | 4.84 MiB/s, done.
Resolving deltas: 100% (48/48), done.
$ bundle install
Using public_suffix 2.0.5
...
Using nuggets 1.5.0
Using jekyll-tagging 1.1.0
Bundle complete! 4 Gemfile dependencies, 22 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
$ bundle exec jekyll serve
Configuration file: /home/alice/tmp/type/_config.yml
Configuration file: /home/alice/tmp/type/_config.yml
Source: /home/alice/tmp/type
Destination: /home/alice/tmp/type/_site
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Exception: Liquid error (line 16): Invalid US-ASCII character "\xE2" on line 5 in /_layouts/default.html
jekyll 3.4.3 | Error: Liquid error (line 16): Invalid US-ASCII character "\xE2" on line 5
I am experiencing issues where long code lines in a code block can cause mobile browsers to overflow without scrollbars either in the view or the code block.
An example would be a code block like below:
try
{
tokenSource.CancelAfter(requestTimeout);
}
I am attempted to fix the issue, but unsuccessfully.
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.