Code Monkey home page Code Monkey logo

jekyll-text-theme's Introduction

license Gem Version Travis Tip Me via PayPal Tip Me via Bitcoin

TeXt Theme

TeXt Theme Details

TeXt is a super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc. Similar to iOS 11 style, it has large and prominent titles, round buttons and cards.

Change Log | 中文

Features

Skins

TeXt has 6 built-in skins, you can also set up your own skin.

default dark forest
Default Dark Forest
ocean chocolate orange
Ocean Chocolate Orange

Highlight Theme

TeXt use Tomorrow as the highlight theme.

tomorrow tomorrow-night tomorrow-night-eighties tomorrow-night-blue tomorrow-night-bright
Tomorrow Tomorrow Night Tomorrow Night Eighties Tomorrow Night Blue Tomorrow Night Bright

Documentation

Start

Customization

Content

Demo Pages

Name Description
Home Home page
Archive Archive page
Layout Examples Examples for different layouts

License

TeXt Theme is MIT licensed.

jekyll-text-theme's People

Contributors

bakumon avatar ctrl-q avatar henryqw avatar huxpro avatar jamiebyunsage avatar jelizaga3-gatech avatar kitian616 avatar krinkle avatar liao961120 avatar llovvoll avatar lloyar avatar maddovr avatar ojw28 avatar ssosso avatar tanersenyurt avatar thianda91 avatar zerone01y avatar ziofil 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jekyll-text-theme's Issues

如何控制首页摘要的长度?

  • 希望能够增加控制长度的设置,现在有点太多了,这样一打开首页和博客页的差别看不出来
  • 每一页左上角的名字按钮按下去仍然是当前页,希望能改成主页,应该和Home的功能一样

paginator /blog url

in the _config.yml the pagination url is still having the /blog/ part as in your personal blog.
just a little fix, don't wanna do a pull request for that

Where can I change post content alignment to "Justify"?

Hi Qi,

I really appreciate your work for this jekyll Theme, I like it very much.

Recently I try to write my posts, I find out that the contents alignment is not "justify". Could you kindly tell me which part/file/codes should I change to make post contents align justify?

Currently, I have to use {: style="text-align: justify"} at the end of each paragraph to make it happen. It is a really verbose task to add it.

Thanks in advance!

Best regards,
Zhenye Na

RSS无法显示

又来请教作者了...
主页点击RSS会出现,
This XML file does not appear to have any style information associated with it. The document tree is shown below.
请问是什么原因

圖片過大時,會造成文章跑版無法顯示

如我插入這張圖時,在主頁面(index)時,將會造成整個畫面走版,僅剩Click to read more ...
點入後,整個文章頁面將會異位,這部分應該如何修正?還是只能自行縮小圖片再上傳插入呢?
謝謝

Leancloud stats on homepage all show 0

I'm using the latest HEAD 5f88b3a

Leancloud stats DO show the correct numbers for each article on its own page. But on the home page, all stats are showing as 0. Think it's related to a recent commit, but can't find it easily for now.

change color theme

Hi. The current way of set color theme is to change the file _sass/settings/_colors.scss

I was wondering if it's feasible/better to move this change to for example _config.yml. Seems to me that it's more convenient to control it from the config file.

HTTPS下Disqus不能正常加载

很喜欢您的主题,但在配置Disqus出了一点问题导致不能加载。具体原因尚不确定,但我在参考官方文档并修改参数this.page.url与s.src后正常了,怀疑原因是缺少https前缀。
我修改的文件是/_includes/utils/comment-disqus.html。具体修改如下,原内容在注释中给出。

<script>
    /**
    *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
    *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/

    var disqus_config = function () {
        //this.page.url = '{% include snippets/page-url.html %}';
        this.page.url = 'https://{% include snippets/page-url.html %}';
        this.page.identifier = '{{ page.key }}';
    };

    (function() { // DON'T EDIT BELOW THIS LINE
        var d = document, s = d.createElement('script');
        //s.src = 'https://{{ site.disqus_shortname }}.disqus.com/embed.js';
        s.src = '//{{ site.disqus_shortname }}.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    })();
</script>

望您参考,谢谢!

长图片的显示

Hi kitian616,

在文章中插入长图片后会缩成很小的一块,看不清楚。是否有选项和禁用自动缩放,或者支持点击小图自动展开大图?谢谢。

文章链接

图片示例(550x1208)

Gem based theme problems

So I tried once again to use the gem based version of your theme(latest 1.5.0), however it has two big problems which I can't seem to find a solution to(and I don't understand where things went wrong):

  • Archive page is broken for some reason (tags are grayed out and remain unfocused). Files that I have changed that could lead to this issue are: _includes/components/tags.html(only translated Show All to Italian, shouldn't be an issue); _data/locale.yml (added Italian localization); _data/variables.yml (changed lang: it); /all.html (added Italian title).

  • TOC is not showing up: I have an article with h3 headers(three #) and toc isn't showing up anymore. I've uncommented the selectors: 'h1,h2,h3' in _config.yml however it's not working.

Everything works flawlessly with non-gem based theme version 1.4.3.

GDPR Compliance?

On May 25th, GDPR will come into effect and it will require any EU website/organization and non-EU with EU visitors/clients to comply with its specifics(opt-in regarding the use of cookies). While I'm not entirely sure about what this means for the theme(where are cookies used?), it would be nice to see a theme-level compliance to avoid issues on the webmasters.

Disqus doesn't load

I correctly uncommented and put my disqus shortname in _config.yml, also migrated old comments to the new url, however disqus doesn't even seem to load for me. There is nothing written in the english documentation and I can't seem to troubleshoot the problem away(even went to the comment-disqus.html but I can't understand what page.key refers to. Suggestions?

Google analytics功能失效

在Web source code中看不出有analytics的相關code展現於page中
查找了一下代碼 debug不出來,可否幫忙修正一下問題,謝謝!

switching languages dynamically

since you implemented to choose different languages in the config yaml, why not put this decision to the user viewing the page ? make a simple dropdown box in the bottom or at the top to choose between different languages.
I don't know if this is possible but the interface for different languages is already there so it should be only a little tweak :)

Feature request: Night mode

I think having a Night Mode switch(that changes theme to "dark") and have it remembered in cookies would be a nice feature. Of course there should also be an option in _config.yml to enable and disable this choice.

RSS error

The RSS section is not build ok... just 9 records... please any ideas ?

home页面无法显示,

hi, 不好意思麻烦问下,我想使用下你的主题,按照readme,操作之后,在本地是正常的,但是我传到github之后发现home页面无法显示对应的页面,只能在归档里面可以看到。

###bingqianglin.github.io/_posts/2015-01-01-article-with-long-toc.md

---
layout: post
title: Test - Article With Long TOC
key: 20150101
tags: Test English
---

Article with long TOC.

<!--more-->

## TeXt Heading

### TeXt Heading

### TeXt Heading

#### TeXt Heading

##### TeXt Heading

###### TeXt Heading

文件位于https://github.com/bingqianglin/bingqianglin.github.io

我想问下这个问题可能是什么造成的?还请指教一下,谢谢。

首页阅读量获取异常的原因与修复

文件 \_layouts\home.html,78行:

query.equalTo('key', /(.*)-(.*)/.exec(curId)[2]);

这个变量curId定义在了 \_includes\blog\article-data.html,27行:

<span class="article-view" id="post-key-{{ cur_page.key }}">0</span>

是形如post-key-xxx的样式,如果xxx不包含-符号,使用正则/(.*)-(.*)/.exec(curId)[2]可以正确获取,而如果在post的yaml头中设置的key是日期格式:2017-10-26,这个正则就会获取key错误,所以建议修复,将文件 /_layouts/home.html,78行改为:

query.equalTo('key',  curId.substr(9));

即可。

我研究了好久,这个正则这么复杂,还会出错。不如写个字符串截取简单。

Question: nav_list fixed number?

So I made a page where I want to list my projects and I wanted to show it on the novelist in the top-right corner, however it doesn't seem to work unless I replace the about link. Am I doing something wrong(quite possible, since I've a high fever)? How can I go about it the right way?

数学公式支持的问题

关于数学公式,在撰写markdown的时候,用的Katex的渲染,例如
$$h_\theta(x)=g(\theta_0+\theta_1x_1+\theta_2x_2)$$
这个是可以渲染的,但是发布到网站后不能正常显示,想问一下我是不是漏了什么。

Feature request: Add staticman commenting system

I think a good number of people that choose a static site are not too happy with Disqus&co., as such since we have a great alternative like staticman, it's worth adding this feature. I'm personally working on it and might do a pull request, however that would happen only after I finish my exams(next month).

几点建议

  • 博客主页文章列表不是很明显的区分,可以给标题加上颜色,如蓝色或者绿色(默认主题)
  • 博客主页文章列表的内容可以不要全部显示出来吗?可以去掉图片提取部分内容,或者在编写markdown的时候可以加个简介的标记来解析
  • 具体到点击进去的博文,同样的标题和内容区分不是很明显,目录没有按标题分级别
  • 建议将日期、访问人数、标签放在标题下面,而不是文章最后面

参考博客: http://yicm.me/

Please consider rename files and restructure folder layouts

Renaming

For instance, files under _includes/scripts should have a different extension name. eg. all.script or all_scripts.html.

Since there are nested {% include %} tag, the current convention is making files indistinguishable, especially from their functionalities/duties.

Example

Restruction

IMO, components, snippets and utils can be somehow merged

Use favicons from a generator

I think this begs a different issue, if I'm wrong then sorry ^^
I think many users actually use things like realfavicongenerator & co. since they export even the strange formats(android manifest.json, browserconfig.xml and safari-pinned-tab.svg), is it possible to do this as well in this theme instead of using the script(which isn't the best when it comes to android and msedge).

生成网站图标报错了,求指教

wx20180228-180256 2x

➜  jekyll-TeXt-theme git:(master) ✗ npm run artwork

> [email protected] artwork /Users/mafei/githubRep/otherRep/jekyll-TeXt-theme
> gulp artwork

[17:57:39] Using gulpfile ~/githubRep/otherRep/jekyll-TeXt-theme/gulpfile.js
[17:57:39] Starting 'icon128'...
[17:57:39] Starting 'icon48'...
[17:57:39] Starting 'icon16'...
[17:57:39] Starting 'icon310'...
[17:57:39] Starting 'icon310x150'...
[17:57:39] Starting 'icon192'...
[17:57:39] Starting 'icon180'...
[17:57:39] Starting 'icon167'...
[17:57:39] Starting 'icon152'...
[17:57:39] Starting 'icon150'...
[17:57:39] Starting 'icon120'...
[17:57:39] Starting 'icon70'...
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): [object Object]
(node:2555) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): [object Object]
(node:2555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): [object Object]

Can't modify theme footer(gem package)

Hello, your theme is very great(is it based on NeXt?), however after installing it as a gem, I find myself unable to modify the theme footer(specifically I want to add a discord link and icon) and I've copied and edited both follow-me.html and _follow-me.scss(in their respective folders) also adding a discord.svg in _includes/icon/social/discord.svg. Same goes for the footer which I want to Edit using my own name instead of my nick. What am I doing wrong?

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.