Coder Social home page Coder Social logo

arm-band / kiribi_ususama Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 5.78 MB

Gulp.js を使用した小・中規模Webサイト制作用のフレームワークです ( Bootstrap, Honoka, Dart Sass, EJS, Gulp.js, Webpack )。

Home Page: https://ususama.ewigleere.net

JavaScript 50.18% CSS 0.15% SCSS 22.28% Shell 0.07% EJS 27.32%
ejs scss javascript template-project website-template kiribi-ususama bootstrap4 bootstrap honoka gulp

kiribi_ususama's Introduction

Kiribi Ususama

ESLint/stylelint/html-cli Check

Abstract

gulpを使用した小・中規模Webサイト制作用のボイラープレートです。

詳しい情報や使い方等はデモサイト・ドキュメントを参照。

kiribi_ususama's People

Contributors

arm-band avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

kiribi_ususama's Issues

CLIの日本語文字化け

npm run kiribiで対話形式でパラメータを入力する際、Windows環境だと入力値がShift-JISでパラメータに取り込まれるため、文字化けを起こす。

解決案

  • 素直に入力値をUTF-8に変換する
  • 違う手法を取る(json形式を止めてYAMLにするなど。変更しても直接変化が生じるわけではないが)

機能の移行予定

実際にやるかどうかは不明だが、案としてあるもの

脱json

  • json→mdに移行する
    • SSGみたいなノリ
  • 設定ファイルをyamlにする
    • SSGみたいなノリ

細かい手直し

アイキャッチ画像

  • 新着記事のアイキャッチ画像のパスをthumbnailの中にする
  • 画像を3段階ぐらいにリサイズして読み分ける?

base href不要化

  • news.htmlで書き出す内容をcontentではなくexcerptにする
    • base href不要化のため

バグ修正

  • news.htmlからarticle.htmlに遷移した際にURLの/が%2Fになるのを修正

その他

  • ejsコンパイル関連のgulpコマンドをまとめる
  • Honoka4.1.3までアップデート

データの整理

  • jsonファイルのパスを整理
  • json→ejs, json→js, json→phpは可なので、json→scssのやり方を確立させる
  • json→scssができたら: 各種変数を使い回す
    • head.ejsの中のtheme-colorを共通変数で指定
    • header.ejsの中の六角形のsvg(テンプレ)を1つの変数で指定
    • _header.scssindex.jsindex.ejsのナビゲーションバーの高さ指定を共通変数に
    • _var.scssの色をjsonから出力
    • frontnoteのカラーパレットを変数で

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.