Giter Club home page Giter Club logo

jekyll-theme-yat's Introduction

Hi, Fellow Developer.

GIF

Platform: windows | macos | linux Visitor Editor: Neovim Donate (Liberapay) Donate (Patreon) Donate (Ko-fi)

Introduction

I develop and maintain open-source projects that boost developer productivity. In addition, I practice playing piano and guitar in my spare time. Besides that, I also fall in love with photography. Welcome to exchange ideas with me.

Roadmap: 👨‍💻 -> 🎸 -> 🎹 -> 📸

Support

🙏 If you use jekyll-spaceship, jekyll-theme-yat, jekyll-deploy-action, zsh-vi-mode, or any of my other projects, a monthly contribution would mean A WHOLE LOT.

On its own, open-source doesn't pay the bills, and it takes a lot of time to create and maintain. Hopefully, with your help, continuing my work can be sustainable and making my new ideas come TRUE 😝.

To thank you for your sponsorship, I will:

  • Add you to my BACKERS.md file (>= $0/month).
  • Follow your GitHub account (>= $10/month).
  • Assist you on using any one of my Open-Source projects ASAP (>= $20/month).
  • Notice you when I have new ideas and projects (>= $50/month).
  • Add any one of your Ads banner to my profile (>= $100/month).

Backers

❤️ Thanks for your supports!

BACKERS.md

jekyll-theme-yat's People

Contributors

anthonyive avatar arafo avatar brazacz avatar casperdcl avatar jeffreytse avatar jnooree avatar markchenyutian avatar misstickles avatar rotzbua avatar snacky101 avatar streakingman avatar tchebb avatar walterddr avatar yawnbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jekyll-theme-yat's Issues

how to delete the code related to translation?

Hey, YAT is really great! The translation is also great. But my friends can't access URLs that belong to Google. So when they visit my site, the browser will be stuck at fetching the files related to translation. How can I delete the code related to translation?

HI!Can I remove the translation icon?

I think the translation function doesn't mean much to me, so I try to remove the icon of translation on the header, but I couldn't find a way to remove it...Could you please tell me the specific method?
Thank you so much!
F56D04P{HANFF}2U_NBNGQ7

Visitor's choice Light vs Dark is not kept when another page is loaded

If the light theme is forced by default using night_mode: "off" and the visitor manually choose "Dark" with the widget, his setting is lost when he goes to another page. The new one is displayed with the light theme.
I think whatever the user's choice is, it should supersede the default setting of the site and be kept during the visit.

Posts not being loaded by [MathjaxProcessor]

I have the following posts in my _posts/ folder:

-rw-r--r-- 1 alvaro alvaro 43783 oct  9 12:29 2020-10-01-configuracion-raid-5.markdown
-rw-r--r-- 1 alvaro alvaro 33636 oct  9 12:28 2020-10-02-almacenamiento-con-rclone.markdown
-rw-r--r-- 1 alvaro alvaro 25568 oct 17 20:15 2020-10-03-instalacion-debian-10.markdown
-rw-r--r-- 1 alvaro alvaro 73700 oct 17 11:39 2020-10-10-servidor-dhcp-con-nat.markdown
-rw-r--r-- 1 alvaro alvaro 38531 oct 15 13:50 2020-10-11-cifrado-asimetrico-gpg-openssl.markdown
-rw-r--r-- 1 alvaro alvaro 39324 oct 17 20:18 2020-10-17-instalacion-automatica-pxe.markdown
-rw-r--r-- 1 alvaro alvaro 21051 oct 17 19:07 2020-10-17-virtualhosting-con-apache.markdown

So when I run the bundle exec jekyll serve command, the output from Jekyll Spaceship only shows that it has processed 4 of them all (the first 3 posts are not shown up):

  Jekyll Spaceship: [MathjaxProcessor] _posts/2020-10-10-servidor-dhcp-con-nat.markdown
  Jekyll Spaceship: [MathjaxProcessor] _posts/2020-10-11-cifrado-asimetrico-gpg-openssl.markdown
  Jekyll Spaceship: [MathjaxProcessor] _posts/2020-10-17-instalacion-automatica-pxe.markdown
  Jekyll Spaceship: [MathjaxProcessor] _posts/2020-10-17-virtualhosting-con-apache.markdown

Anyways, although they are not being shown, they are still accessible in the generated site. This is really not an important issue, but it has drawn my attention that 3 of my posts are not being processed by MathjaxProcessor but still accessible in the final generated site.

Here you have my GitHub repository with the website code, in case you need it. Thanks.

Show posts based on language chosen

I wanted to make two versions of the website based on the language the user will choose.
There will be posts for each language that i wanted to be displayed based on the language choice. How can i do something like this ?

TOC being auto "translated" to English

I noticed this issue locally and noticed it also appears on your blog, so it must not be just a me issue.

Google translate is detecting TOC (the abbreviation for table of contents) as a Romanian word and translating it to english:
image

You can replicate this on Google Translate: https://translate.google.com/?sl=auto&tl=en&text=TOC&op=translate

This is also resulting in TOC translating to "heel" in other languages too. This didn't originally stick out to me as much as the english getting translated - but in retrospect it makes sense it would be wrong in all languages.

I've just taken a cursory look at how this google translate works - I think the method you are using supports passing in what language the site is written in, instead of using auto-detect. That should fix this issue, trying it with google translate if you give it "TOC" and say that it is english it won't translate it since it is not a word.

Of course I'm not sure if there are any YAT users that rely on the auto-detect for language for some reason which could complicate this.

Thanks!

How to modify the icon of a webpage ?

Hi! I want to know how to change the icon of the website. I have been looking for a long time and I have no idea. Please tell me the specific method. Thank you so much!
1635751592(1)

Error from during GitHub Action

Hello. First, thank you for wonderful theme.

I got this error during GitHub action at Build jeffreytse/[email protected]

  Setting up git-all (1:2.30.2-1) ...
4142
  Processing triggers for libc-bin (2.31-13) ...
4143
  Errors were encountered while processing:
4144
   elpa-magit
4145
  E: Sub-process /usr/bin/dpkg returned an error code (1)
4146
  The command '/bin/sh -c apt-get install -qq -y git-all' returned a non-zero code: 100
4147
  
4148
Error: Docker build failed with exit code 100

Thank you

How to display the emoji?

I like your theme very much, but I can’t solve this problem independently.

This is the demo from your Repository:
图片

Here is mine:
图片

github-action error

Hello.. Thank you for ur awesome theme...
I have a problem while hosting my post...
I pushed my commit but github-action failed..
Can you help me??

image

image

Is there a way to disable the TOC?

First of all I'd like to say that this theme is pretty awesome. However, in my posts I'd like to use titles without generating a Table of Contents in the sidebar. Is there a way to disable the automatic TOC generation or disable it for a specific post?

Video banner auto playing is not working in Safari

For the Safari on OSX, as the default websites Auto-Play option is Stop Media with Sound, this strategy can also introduce the permission issue.

image

For the Safari on iPhone, the default websites Auto-Playoptions are not only Stop Media with Sound but also Stop Media with FullScreen.

To solve it, we should auto add muted and playsinline properties when this permission issue occurred. in case you get yourself confused about this property playsinline, here is the explaination.

Mobile browsers, playsinline will play the video right where it is instead of the default, which is to open it up fullscreen while it plays.

Search page / Search box for the Theme

This theme looks really great! However, it will be better if there is a search box for the theme.

In another Jekyll site I maintained (with ~100 posts) , I used a Jekyll plugin called Simple-Jekyll-Search and it works great. However, as I am not familiar with either Sass or UI design, I am not able to add a search page with corresponding style and create a PR on my own.

Is it possible to add search box and develop a set of style corresponding to the theme in the near future? That will be a great help, thanks!

page layout please

I need to add certain pages which would include:

  • about me
  • how to contribute
  • coming soon (posts)
    A page layout would be perfect for this, which is missing in YAT.

Is it possible to add it? How?

Option to translate/not translate

Hey! I really like the translation option, but I'm planning to post some things in Portuguese and I would like for them to remain in the original language, instead of being automatically translated. Is there a way to achieve that, blocking the translation? I'm new to this, so any advice would be great!

Thanks and really great work on this template!

Support og tag

Can you support og tag?
I want to see the detect and show post title information in the social network preview.
Thank you for your cool theme

<meta property="og:title" content="title">
<meta property="og:description" content="description">
<meta property="og:image" content="https://urlpath.com">
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com">

Offical Page

Origin Preview

Screen Shot 2021-02-12 at 3 08 25 PM

My page Preview

Screen Shot 2021-02-12 at 3 09 04 PM

Does yat support sticky posts?

I want some of my articles to always show on the top. It could be done by changing the date of posts, but it makes no sense.

[BUG] Black header titles Dark Mode on mobile

Hi, I tried this theme and the menu titles are unreadable in dark mode.

Also i would suggest please add another dark mode without #000000. It would suit the eyes better at night.

# TAG APPLICATION PROBLEM

Hello
I am a new developer and college student who is using this blog well.
I am reporting you because there was a problem during use.
I used the # tag when I wrote the post, but it doesn't appear to be applied on the blog.
How can you solve it?

my blog URL is cartoonpoet.github.io

Theme not updated

Hi. I set up the theme on my new blog yesterday. The theme didn't get updated then, so I thought that I should wait. It has been 13 hours since my last commit and the repo is new. Till now, the theme is not updated. What should I do to solve the problem?

Question : Can I add a comment to the post?

Hello!

I'm a college student who is using the blog that Jeffreytse made very well.

After writing the post, I want to add it so that visitors can write comments at the bottom, and I want to know if you provide this feature!

Unable to change the default heading and subheading

I was using minima theme and I am trying to switch to YAT. I am trying to change the default heading and subheading.

I have tried this, but it didn't work:

defaults:
home:
heading: "my heading"
subheading: "my subheading"
banner: "Your image url"

It stays the same.

How can I change it?

"get_reading_time.html" is not support any languages

Hi, @jeffreytse .
Thank you for your great theme.

I love your theme, and using for my Japanese blog with remote theme .
Then, I found the reading time is something wrong ...

I think {{ number_of_words }} liquid filter need "auto" or "cjk" option for Japanese.

But I can't fix this issue by overriding in my local repos.
I don't understand how work this theme completely, so please fix this issue, if it is easy.

Weird behavior with the sample

First of all, Thanks for this incredible theme.
Second, I'm not sure if this is a problem of the theme or the Jekyll

For some reason, the sample below produces a wrong result. Does anyone have any idea of what could be?

---
layout: post
title: testtttt
subtitle: just a test.
categories: test
tags: [test, bug, weird, help]
---
``` diff
+        'user_exists' => 'SELECT EXISTS(SELECT 1 FROM table WHERE username = (:username || \'@sample'))',
+        'get_users' => 'SELECT split_part(username, \'@\', 1) FROM table WHERE (username ILIKE :search) OR (name ILIKE :search)',
+        'get_password_hash_for_user' => 'SELECT split_part(password, \'{CRYPT}\', 2) FROM table WHERE username = (:username || \'@sample\')',
+        'set_password_hash_for_user' => 'UPDATE table SET password =  \'{CRYPT}\' || :new_password_hash WHERE username = (:username || \'@sample\')',
``` 
Reload the Nginx:

``` console
$ sudo nginx -s reload
```

#### Sample title three

Sample test wit a [sample link](https://google.com).

The \<password\> will be in the file `samplefile.tips` in the `sample:` section.

| **Sample table**               | **Sample table**    |
| ---------------------------------- | -------------------------------------- |
| Email user: [email protected] | Email user: [email protected]     |
| Nextcloud user: joanadarc          | Nextcloud user: [email protected] |

Screenshot_2021-07-26 testtttt

build_and_deploy github issue

Hi,

First thanks for your amazing work on this theme.

The issue I encounter is when deploying in github pages I recieve an error in the build_and_deploy Actions tab of github :

Run jeffreytse/jekyll-deploy-action@master /usr/bin/docker run --name aac2aab594691e412e4bc1afc032c08ff3f133_cb0007 --label aac2aa --workdir /github/workspace --rm -e INPUT_PROVIDER -e INPUT_TOKEN -e INPUT_REPOSITORY -e INPUT_BRANCH -e INPUT_JEKYLL_SRC -e INPUT_JEKYLL_CFG -e INPUT_JEKYLL_BASEURL -e INPUT_CNAME -e INPUT_ACTOR -e INPUT_BUNDLER_VER -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/mbarki/mbarki":"/github/workspace" aac2aa:b594691e412e4bc1afc032c08ff3f133

Do you have an idea how to fix it ?

Many thanks

A night mode perhaps

Just a suggestion

Basically what the title says, a dark mode and this will be perfect

Please do it if you have time

Cheers✌

Option to disable code type badge?

To remove it, currently I have to copy the whole _sass directory and change _sass/yat/_base.scss, it's not ideal. Is there another way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.