Coder Social home page Coder Social logo

mismith0227 / hugo_theme_pickles Goto Github PK

View Code? Open in Web Editor NEW
203.0 2.0 105.0 2.38 MB

Modern, Simple and beautiful Hugo theme

Home Page: https://themes.gohugo.io/hugo_theme_pickles/

License: MIT License

JavaScript 10.43% HTML 64.43% CSS 0.08% Shell 1.42% SCSS 23.64%
hugo hugo-theme static-site-generator gulp svg-sprites babel sass github-actions webpack

hugo_theme_pickles's Introduction

Pickles GitHub Workflow Status GitHub Standard - JavaScript Style Guide

Pickles is a modern, simple and beautiful Hugo theme.

screenshot

Overview

  • Modern, Simple and beautiful design
  • Medium's Image Zoom(zooming)
  • Social links(Twitter,Facebook,Instagram,Google+,GitHub,GitLab,npm,Codepen,Dribbble,500px,Flickr,Pinterest,Tumblr,Vimeo,YouTube,Linkedin)
  • Support for Related Content
  • Support for tags
  • Analytics with Google Analytics
  • Responsive design
  • SVG Sprite

There is a custom shortcode for Image Zoom. You can use it like so:

{{< zoom-img src="/images/default.jpg" >}}

Features

  • gulp
  • webpack
  • Sass
  • Babel
  • SVG Sprite
  • Standard

Installation

In your Hugo site directory, run:

$ mkdir themes
$ cd themes
$ git clone -b release https://github.com/mismith0227/hugo_theme_pickles

Or download it from the release branch:

release

Usage

Use Hugo's -t hugo_theme_pickles or --theme=hugo_theme_pickles option with hugo commands. For example:

$ hugo server -t hugo_theme_pickles -w -D

Configuration

You may specify the following options in config.toml of your site to make use of this theme's features.

For getting started with Pickles, copy the config.toml file from the exampleSite directory inside Pickles’s repository to your site repository.

$ cp themes/hugo_theme_pickles/exampleSite/config.toml .

Now, you can start editing this file and add your own information!

Customisation

To hide the date in a post, set the hideDate parameter in the front matter:

---
hideDate: true
---

You can use hideWordCount and headReadingTime to hide word count and reading time on both, the posts and the post list.

---
hideWordCount: true
hideReadingTime: true
---

Contributing

Pull requests, bug fixes and new features are welcome!

Please create feature branches from develop and submit a PR for any change.

Development

  1. Install Node modules
yarn
  1. Run gulp. You don't need to install gulp globally.
// Development
yarn run dev
// On another tab
yarn run hugo

// Production (compress)
yarn run prod
// On another tab
yarn run hugo

// Build
yarn run build

License

Open sourced under the MIT license.

hugo_theme_pickles's People

Contributors

abskmj avatar annabunches avatar aryna avatar brunogeronimo avatar claytonjy avatar dwmkerr avatar hdykokd avatar heathhenley avatar isseis avatar jdthomas avatar joshthoward avatar lukehsiao avatar mewa avatar mismith0227 avatar nicolascouvrat avatar phs avatar renovate-bot avatar seokbeomkim avatar serinuntius avatar shikunx avatar sozorogami avatar stilesb avatar thomasrettig avatar whhone avatar yangmillstheory 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

hugo_theme_pickles's Issues

summary_large_image

Twitterで大きいサムネイル画像にしたい

summary_large_imageを使う

Disqus Integration

Hi. I recently started using your theme. It's great. But I have a question about Disqus.

I notice that the Discuss comment field shows up at the bottom of posts, but comments do not. Do I have to do something besides add my handle to the config?

Thanks!

Paramsで設定してないのは非表示とか

TwitterアカウントやGitHubアカウント、Googleアナリティクスなど、必要ない人もいるかもしれないので、設定してないときは非表示とか、条件分岐できないの。

style

細かいスタイル調整

OGP画像の設定

mdファイルのFront MatterでOGP画像の設定とかできないのか

disqus

disqusを入れられるように試す

Dependency deprecation warning: babel-preset-es2015 (npm)

On registry https://registry.npmjs.org/, the "latest" version (v6.24.1) of dependency babel-preset-es2015 has the following deprecation notice:

🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!

Marking the latest version of an npm package as deprecated results in the entire package being considered deprecated, so contact the package author you think this is a mistake.

Affected package file(s): package.json

If you don't care about this, you can close this issue and not be warned about babel-preset-es2015's deprecation again. If you would like to completely disable all future deprecation warnings then add the following to your config:

"suppressNotifications": ["deprecationWarningIssues"]

Thumbnail

サムネイルやOGPの画像を個別に指定できるように

Tags list items appends "1"

Front matter:

---
title: "Hello, world!"
date: 2017-09-01T10:17:15-07:00
draft: false
description: "My first post."
tags:
  - "foo"
  - "bar"
---

...

image

Related question, is there any way to expose links to /tags and /categories from the theme?

RSS

RSSのリンクどこおくか

hugo gulp

hugo server npm run devを別々のタブで打つとちゃんと動くけど、
"dev": "yarn run build && hugo server & gulp",こういうことやると、サーバーを切っても終わってなくて、htmlを保存すると勝手にサーバーが立ち上がったり、port1313が使われてて、別のポートで立ち上がったりする。

ここが解決してるみたいだけど、ぱっと見めんどくさそうだから、コマンド分けてしまってもいいかも
https://thetimegraphy.com/get-along-with-hugo-and-browsersync/

Title font

タイトルのフォントが日本語・英語まざるとあんまりよくない。

英語だけだと綺麗なので外国人にはいいのかもしれないけど。。。

icon hover

アイコンにマウスオーバーした時のスタイル

Trouble building example site

I'm having some issues building the example site for the theme. Below is the error.

Building sites … ERROR 2019/07/27 09:21:34 Error while rendering "page" in "": template: theme/_default/single.html:41:16: executing "theme/_default/single.html" at <.NextPage>: can't evaluate field NextPage in type *hugolib.PageOutput

Any thoughts?

GitLab account support

Hi!

Thank you for this theme! Is really nice...

Any chance to add GitLab to the supported social accounts list?

Here is one of the official SVG images in grayscale: stacked_wm_grayscale.svg

Thanks in advance.

404

404ページ特に何も考えてないので考えてみる

Tagのリンクが不正(?)

キレイなテーマの提供ありがとうございます。
とても感謝しております。

<a href="{{ $baseurl }}/tags/{{ . | urlize }}" class="c-tag">{{ . }}</a>

該当行なのですが、baseurlの最後の //tags/ の先頭の / が被ってしまい
example.com//tags/~~ のようなリンクになってしまい、404になってしまいます。

baseurlを https://example.com 等にし、 / を無くせばいいかと思ったのですが、
そうするとtwitter等のsvgが表示されなくなってしまいました。

      <a href="{{ $baseurl }}tags/{{ . | urlize }}" class="c-tag">{{ . }}</a>

/ をなくすのが一番手っ取り早そうなので、そのように対応しました。

favicon

faviconの設定を追加

Syntax highlighting

I love this theme and I see it does not have syntax highlighting. Would you be interested in this? I will work on the PR.

Recent posts

Is it possible to have a link to recent posts, or a section showing the most recent posts?

zoom

zoom.js入れたいけどうまくやる方法ないか。
webpackでまとめようとするとエラー吐く

/posts page

Displays ALL posts yet still has pagination at the bottom of the page.

No posts on homepage

Hello,

I am very new to this so I could be doing this wrong, but using this theme I do not see any posts listed on my homepage or even on site/post path. Right now I have only one post by the name of first-post.md. But I can find my post on this path: site/post/first-post.

I've tried tinkering with the index.html template but have not been able to make it work. Any idea why I'm having this issue? The theme seems to be working fine on the demo site and the maintainer's homepage as well.

I am attaching a verbose output for hugo server --verbose:

INFO 2017/09/13 14:54:23 Using config file: 
INFO 2017/09/13 14:54:23 using a UnionFS for static directory comprised of:
INFO 2017/09/13 14:54:23 Base: /home/khan/work/websites/site/themes/hugo_theme_pickles/static
INFO 2017/09/13 14:54:23 Overlay: /home/khan/work/websites/site/static/
INFO 2017/09/13 14:54:23 syncing static files to /
WARN 2017/09/13 14:54:23 No translation bundle found for default language "en"
WARN 2017/09/13 14:54:23 Translation func for language en not found, use default.
WARN 2017/09/13 14:54:23 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
INFO 2017/09/13 14:54:23 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
INFO 2017/09/13 14:54:23 Alias "/page/1/index.html" translated to "page/1/index.html"
INFO 2017/09/13 14:54:23 Alias "/post/page/1/index.html" translated to "post/page/1/index.html"
Built site for language en:
1 of 1 draft rendered
0 future content
0 expired content
1 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 84 ms
WARN 2017/09/13 14:54:23 Skip i18nDir: lstat /home/khan/work/websites/site/i18n: no such file or directory
Watching for changes in /home/khan/work/websites/site/{data,content,layouts,static,themes}
WARN 2017/09/13 14:54:23 Skip i18nDir: lstat /home/khan/work/websites/site/i18n: no such file or directory
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

I hope those i18n language warnings don't have anything to do with this.

Thanks in advance and this theme is very nice. 👍

Summary style

h2とかそのままでちゃうので、きれいにしたい

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.