Giter VIP home page Giter VIP logo

theme-ad's Introduction

Art Design Theme

"AD" means Art Design. It's a modern theme for current screen and browser. You can preview at godbmw.com.

Preview

Design

With the popularity and further development of ES6, CSS3 and HTML5, and the gradual improvement of the color capabilities of electronic screens, this theme was born.

  • Directions: Make full use of the four directions of the computer screen up, down, left and right. Navigation bar, function bar, sharing bar, and article directory are placed separately.
  • Multi-column: built-in single-column, double-column display style, automatic response to screen width changes.
  • Color: The website uses a total of 20 main colors, each of which is divided into 10 types from light to heavy. So, total number is 20*10 = 200.
  • Icon: Use the icon provided by the open source project "FontAwesome".
  • Mobile: Take advantage of CSS3 and modern browsers to make it perform well (just a small amount of style code).
  • Highlight: 5 kinds of code highlighting styles provided by "Tomorrow-Theme".

Contact

theme-ad's People

Contributors

chirsz-ever avatar dongyuanxin avatar paulzhn 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

theme-ad's Issues

主题搜索栏提供多个搜索引擎选项

@1an8r0wn 正如 @hifocus 所说,cse多年不维护。除此之外,考量2个问题:

  1. 整体UI设计的统一性:第三方插件的UI基本上都不吻合
  2. 代码的可维护性:完全没必要为了二维码功能,再引入一个轮子

但是我觉得现在只有 Google,可以做一个下拉,允许用户选取百度,必应,甚至可以自定义搜索引擎。用户只需要自定义 example.com/?q=xxx 这部分就好。

Originally posted by @hifocus in #17 (comment)

如上述内容,欢迎提出建议。

希望增加 Google Custom Search 的功能并优化现有 Reward 的功能

现有的搜索方式是输入关键词后直接跳转到 Google 的相关搜索结果页面。这对用户来说不太友好。Google 有提供 Google Custom Search 的功能,希望能把这个功能加入并在本站展示搜索结果而不是跳转到 Google 上。

Reward 部分。点击后,弹出的框刚好能展示微信的二维码而支付宝的二维码则是被遮挡住了。
建议集成 https://github.com/Kaiyuan/donate-page/tree/gh-pages/simple 的打赏,直接在评论区上面展示打赏,而不需要点击才展示打赏。

诚邀合作事宜

很喜欢你博客的风格,可否为Cabloy-CMS开发一套(免费/付费)主题,然后发布到Cabloy商店里面?

CabloyJS:是一款顶级NodeJS全栈业务开发框架, 基于KoaJS + EggJS + VueJS + Framework7
Cabloy-CMS:是基于CabloyJS全栈业务开发框架开发的动静结合的CMS,可以快速构建企业网站、博客、社区、商城等Web应用
Cabloy商店:包括品类广泛的各类模块,满足不同场景的开发需求

CabloyJS介绍:https://cabloy.com/zh-cn/articles/introduce.html
Cabloy-CMS介绍:https://cabloy.com/zh-cn/articles/cms-introduce.html

Cabloy商店运营模式:https://cabloy.com/zh-cn/articles/store.html

文章加密

Do you want to request a feature or report a bug or just a question?

What's the current behavior?

What's the expected behavior?

你好,文章加密功能好像不起作用

提供选项使用 jsDelivr 合并多个 CSS 或 JS 文件到一个以减少请求数

jsDelivr 提供了文件合并功能,能够合并 jsDelivr 托管的任何CSS 或者 JS 资源(npm, github, wordpress 官方仓库)到一个。

目前访客模式加载使用本主题的 https://www.justhx.com 会加载来自主题本身的 12 个 js:

image

以及三个 css:

image

可以参考:https://github.com/hifocus/merger/blob/master/merger.html#L102 此处合并了同一个仓库内 /assets 目录下四个 .js 文件(包括了 jQuery,jQuery-qrcode,function.js 以及 iconfont)到一个,实际加载流量相同,但是减少了 HTTP 请求数,同时节省了服务器 / CDN 流量。

考虑到(尽管 jsDelivr 可用性非常高 且在国内速度非常好)有用户也许只希望按照原样从本地加载 css 和 js 文件,这个功能可以作为选项提供

jsDelivr 网站:https://www.jsdelivr.com
国内访问延迟:http://ping.chinaz.com/cdn.jsdelivr.net

主页不能分页

pagination_dir 主页不能分页不然一直报错,pagination_dir undefined

友链链接展示输出问题

问题描述

友情链接页面在面对较为复杂的链接时 (例如 https://blog.lim-light.com)无法完整输出整个链接。

问题截图

image

image

主题配置相关代码

  -
    nickname: 黎明余光
    avatar: /custom/lim-light.jpg
    site: https://blog.lim-light.com
    meta: "@idawnlight"
    show: true

可以参考 https://godbmw.com/friends/ 里面叫 “前端博客” 的友链。他的域名是 https://refined-x.com 但是输出只有 x.com

已知问题

友链链接页面无法输出域名内的子域名,如 blog.xxx.com,但是可以输出 www
友链链接页面无法输出域名内横杠 - 后的部分。

主题版本

Commit: e596b34
版本:v.2.3.0

nodejs 版本

C:\Users\imhx\Documents\GitHub\Justhx.com>npm -v
6.1.0

Hexo 版本

C:\Users\imhx>hexo cli -v
hexo-cli: 1.1.0
os: Windows_NT 10.0.17763 win32 x64
http_parser: 2.8.0
node: 10.7.0
v8: 6.7.288.49-node.15
uv: 1.22.0
zlib: 1.2.11
ares: 1.14.0
modules: 64
nghttp2: 1.32.0
napi: 3
openssl: 1.1.0h
icu: 62.1
unicode: 11.0
cldr: 33.1
tz: 2018e

密码

Do you want to request a feature or report a bug or just a question?

What's the current behavior?

What's the expected behavior?

复制的时候,能否取消自动带有 copyright 的信息?

博主你好,非常喜欢你写的这个主题。我有一个问题想请教,文章的内容,以及代码,复制的时候,会自动带有 copyright 的信息,这对于代码的复制就会不方便了。

我想去掉这个功能,但是在主题的 comfig.yml 里面没有找可以关闭的选项。要关只能把整个 copyright 给关了。

所以想问问能否保留下方的 copyright 信息,但是复制文章内容的时候,不要自动添加这些信息到剪贴板?

期待您的回复,感谢。

希望能加入多语言支持

由于我想用两个语言(中文和英语)来写博客,自己折腾了一下,可似乎挺麻烦的。看网上有人用NexT主题做了,可以参考参考吧。

希望能加入多语言支持,谢谢!

P.S.
您的主题特别好看!

密码拦截功能

在主题里面更改passwords和文章html里面加上passwords: sha256转换的密码都没有起到锁住文章的作用,如何才能给文章加密码?

How to typeset a matrix in Mathjax

I want to resolve a question

How to typeset a matrix in Mathjax?

What's the current behavior?

I typeset a matrix in theme-ad:

A= \begin{bmatrix}
{a_{11}}&{a_{12}}&{\cdots}&{a_{1n}}\\\
{a_{21}}&{a_{22}}&{\cdots}&{a_{2n}}\\\
{\vdots}&{\vdots}&{\ddots}&{\vdots}\\\
{a_{m1}}&{a_{m2}}&{\cdots}&{a_{mn}}\\\
\end{bmatrix}
$$

What's the expected behavior?

It should be rendered as below:

image

However, now it's:

image

特性请求:图片增加 fancybox

如标题所示,目前点击图片会直接在新窗口打开;希望增加 fancybox(也不是很大)让图片可以在当前页面打开并且支持放大一类的操作。

Valine評論系統要如何使用

Do you want to request a feature or report a bug or just a question?

What's the current behavior?

文檔裡提到評論系統使用valine,在主題配置文件中沒有找到對應項

What's the expected behavior?

[bug] The *TOC* button isn't disabled actually

The TOC button style is "disabled" on the index page right now, but it could be clicked actually, then the main content cover layer which the TOC slide nav-bar triggered will come out, but the slide nav-bar doesn't.
In this case, the customer cannot do any operation on the page, the only way back is to refresh the page.

I'm using the latest Chrome on macOS 10.14.3

分类的bug问题

有两篇文章,
第一篇在添加分类的时候使用了两个词比如:学习笔记、前端。
第二篇在添加时使用了一个词:前端。
理想中的是,应该在分类中的前端中有上述两篇文章。
事实是,分类中有显示了2个前端,每个前端里仅有一篇文章。
是没办法支持这种吗?

子路径访问时,相对路径资源会有问题

假设我的博客地址是https://xxx.com/blog/,这个时候'/'开头的相对路径都会拿不到资源,hexo配置文件里面有个root配置,相对路径配上那个root就可以避免这种现象了,除了资源路径,后面发现有一处跳转也是相对路径,配上root也就没问题了

期望增加代码复制功能

一篇技术博客一般都会贴上相关的代码,而代码复制功能是个很人性化的功能,期望加入代码复制功能~!

建议支持自定义页面

我希望在自己的blog中增加一个“备忘录”页面,使用

hexo new page  memorandums

增加页面后却无法渲染,检查发现是因为layout文件夹下没有提供page类型的渲染模板page.ejs,而layout\post.ejs中使用is_post过滤掉了page类型的文章内容。
我自己增加了page.ejs,内容为

<%- partial('passage') %>

结果渲染错误。

按照https://hexo.io/docs/variables#Page-Variables的描述,page类型的页面的page变量是没有categoriestags属性的,直接访问会得到undefined,而layout/passage.ejs及其引用的文件中多次直接使用page.categoriespage.tags,导致渲染错误。

引发错误的代码样本如下:

<% if(page.categories.length > 0) { %>

建议把所有相关处的page.categories改成如

if (page.categories && page.categories.length>0)

以及增加一个page.ejs的模板,如果您同意的话我可以帮您提一个PR。

示范的链接都失效了

Do you want to request a feature or report a bug or just a question?

虽然问题不大,还是提一下。

What's the current behavior?

What's the expected behavior?

Contributing Guide Wanted

Hi, this theme is awesome!
But I am confused about how to contribute to this project.
Is there any Guide for those who want contribute to this project ?

建议加入简繁转换功能

Do you want to request a feature or report a bug or just a question?

手动加入简繁转换脚本(例如这个)的话,现有的页面布局必需手动调整才能新增简繁转换按钮。希望能将简繁转换整合到主题内。

What's the current behavior?

What's the expected behavior?

leancloud appid, appkey and the other credentials should not contains in the repo

Your leancloud appid and appkey had been committed in the git, you should regenerate the appkey (if it's possible), or the others who accessing this repo can attack your account.

You could create a _config.yml with fake values, or a template named _config.yml.template, or some way else to hide your secrets.

DO NOT commit any credentials into the public repo.

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.