Giter Site home page Giter Site logo

sparanoid / almace-scaffolding Goto Github PK

View Code? Open in Web Editor NEW
330.0 7.0 183.0 5.59 MB

AMSF, a.k.a. Almace Scaffolding, a super-fast Jekyll framework fighting against the website obesity.

Home Page: https://sparanoid.com/lab/amsf/

License: MIT License

Ruby 0.81% HTML 16.74% JavaScript 0.03% CoffeeScript 29.73% SCSS 51.96% Dockerfile 0.22% Makefile 0.50%
almace-scaffolding css jekyll grunt html-minification coffeescript amsf scss sass randomized

almace-scaffolding's People

Contributors

bitdeli-chef avatar dependabot[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar kingjacm avatar renovate-bot avatar renovate[bot] avatar sparanoid 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

almace-scaffolding's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency jekyll to v4.3.3
  • chore(deps): update dependency jekyll-last-modified-at to v1.3.2
  • chore(deps): update dependency sass to v1.77.6
  • chore(deps): update dependency tzinfo-data to v1.2024.1
  • chore(deps): update actions/cache action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update docker/build-push-action action to v6
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

bundler
Gemfile
  • jekyll "4.3.2"
  • jekyll-last-modified-at undefined
  • stringex undefined
  • webrick undefined
  • jekyll-sass-converter "< 3.0"
  • match_regex undefined
  • tzinfo "2.0.6"
  • tzinfo-data undefined
  • wdm '>= 0.1.0'
circleci
.circleci/config.yml
  • circleci/ruby 3.0.3-node-browsers
docker-compose
docker-compose.yml
dockerfile
Dockerfile
github-actions
.github/workflows/test.yml
  • actions/checkout v3
  • ruby/setup-ruby v1
  • actions/cache v3
  • actions/setup-node v3
  • actions/cache v3
  • docker/setup-qemu-action v2
  • docker/setup-buildx-action v2
  • docker/login-action v2
  • docker/login-action v2
  • docker/metadata-action v4
  • docker/build-push-action v4
npm
package.json
  • @percy/cli ^1.17.0
  • @lodder/grunt-postcss 3.1.1
  • @lodder/time-grunt 4.0.0
  • autoprefixer 10.4.15
  • coffeelint 2.1.0
  • coffeescript 2.7.0
  • grunt 1.6.1
  • grunt-assets-inline 1.2.4
  • grunt-bump 0.8.0
  • grunt-cache-bust 1.7.0
  • grunt-cleanempty 1.0.4
  • grunt-coffeelint 0.0.16
  • grunt-concurrent 3.0.0
  • grunt-contrib-clean 2.0.1
  • grunt-contrib-copy 1.0.0
  • grunt-contrib-cssmin 5.0.0
  • grunt-contrib-htmlmin 3.1.0
  • grunt-contrib-less 3.0.0
  • grunt-contrib-watch 1.1.0
  • grunt-conventional-changelog 6.1.0
  • grunt-doctype 2.0.2
  • grunt-git 1.1.1
  • grunt-html-trim 0.1.2
  • grunt-jekyll 1.0.1
  • grunt-minjson 0.4.0
  • grunt-newer 1.3.0
  • grunt-sass 3.1.0
  • grunt-service-worker 1.0.3
  • grunt-shell 4.0.0
  • grunt-sri-hash 1.1.5
  • grunt-terser 2.0.0
  • grunt-text-replace 0.4.0
  • grunt-uncss-inline 1.2.7
  • grunt-xmlmin 0.1.8
  • jit-grunt 0.10.0
  • postcss 8.4.28
  • sass 1.66.1
  • terser 5.19.2

  • Check this box to trigger a request for Renovate to run again on this repository

主题显示的几个问题

1、新版的主题无论在主页面还是文章页面,标题背景的颜色非全白,似乎添加了颜色。
2、新版将xx@eizo:~/gh/yefeiyu.github.io/_app/_includes/themes/curtana/includes$ 中的nav.html似乎是改成header.html,原header取消。这样一来页面顶端的颜色条取消,挺可惜那漂亮的效果。它的颜色和文章中许多小色块响应,非常好看。虽然说是为了适应小屏幕扩大了空间,还是挺希望保留的。
我个人把原header中的内容添加后,并未显示出那个颜色条,请问还需要改动什么地方呢?我添加的内容是:

添加后也未显示出颜色条,请问实际应如何解决?

Browsersync Issue

        open: true
        browser: [
          "safari",
          "firefox"
        ]
        notify: true

This doesn't work but

        open: true
        browser: [
          "firefox"
        ]
        notify: true

Works. Please fix this.

Build Failing With Invalid Date Error

I cloned the repo locally and followed the instructions here. But the website fails to build on running grunt serve with the following error:

Running "jekyll:serve" (jekyll) task
`bundle exec jekyll build --destination _site --config _config.yml,_amsf.yml,_app/_data/curtana.yml,_config.dev.yml --drafts --future` was initiated.

Configuration file: _config.yml
Configuration file: _amsf.yml
Configuration file: _app/_data/curtana.yml
Configuration file: _config.dev.yml
            Source: _app
       Destination: _site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. in /_layouts/default.html
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime.
Warning:   Liquid Exception: Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. in /_layouts/default.html
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. Use --force to continue.

Aborted due to warnings.

screen shot 2017-10-16 at 1 54 44 am

When i build with grunt serve --force, I get the following error:
screen shot 2017-10-16 at 1 53 46 am

Is there something I'm missing here?

grunt serve seem like take forever to watch & unable to fire up website at local host.

Super fancy framework I love that so much!
But it is so hard to set up to me..
I fallowed the instruction to get started with this framework, try to installing bundler and node.js on windows 10 ubuntu bash, it is no issues output but grunt serve watch seems gonna run forever, then I got into gruntfile delete the watch part of grunt serve, it works but there is nothing in my localhost, only the unlimited wait page.
Yes I uesing ubuntu bash on Windows, it’s maybe issues with that.
Wanna get help! It already took me so much times XD

Better dark theme support

I've added a basic dark theme support via prefers-color-scheme: dark media method last week, but it still has some issues:

  • CSS variables (custom properties) conflict with Scss-Liquid front-matter custom CSS, aka. Custom Color Scheme. For example: https://sparanoid.com/work/instagram-badges/
  • theme_color and background_color in manifest.json will not work if you switch to CSS variables and no longer define custom color scheme.
  • Cannot determine custom color for colored post list

Dependency deprecation warning: time-grunt (npm)

On registry http://registry.npmjs.org/, the "latest" version (v2.0.0) of dependency time-grunt has the following deprecation notice:

Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.

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 time-grunt's deprecation again. If you would like to completely disable all future deprecation warnings then add the following to your config:

"suppressNotifications": ["deprecationWarningIssues"]

An in-range update of grunt-uncss-inline is breaking the build 🚨

Version 1.1.0 of grunt-uncss-inline just got published.

Branch Build failing 🚨
Dependency grunt-uncss-inline
Current Version 1.0.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As grunt-uncss-inline is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 8 commits.

  • e43e4a0 chore: release v1.1.0
  • b02d8b5 chore: update contributors
  • 318dbff chore(package): update uncss to 0.15.0 and fix test
  • edbb08d feat(travis): remove old node version
  • 7991b6e chore: update license
  • 29686eb fix(package): update chalk to version 2.0.0 (#15)
  • 66500a3 chore(package): update chai to version 4.0.1 (#14)
  • 9b56627 chore(package): update grunt-contrib-cssmin to version 2.0.0 (#12)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

使用css设定图片最大为100%,小于边框按实际大小显示

目前的设置,在我的5s小屏幕上大尺寸会溢出,小尺寸会放到到100%。
今天搜了半天解决办法,找到下面方法,放到css文件_includes/themes/curtana/includes$ e css-variables.html中可以实现标题设置。
或者放到assets/themes/curtana/_less$ e common.less 中也可以。
(不太懂,不知如何优化)

 .post-content img {
  width: auto;
  height : auto;
  max-height: 100%;
  max-width: 100%;
 padding-left: 6%;
  }

Dependency deprecation warning: grunt-contrib-uglify-es (npm)

On registry https://registry.npmjs.org/, the "latest" version (v3.3.0) of dependency grunt-contrib-uglify-es has the following deprecation notice:

deprecated

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 grunt-contrib-uglify-es's deprecation again. If you would like to completely disable all future deprecation warnings then add the following to your config:

"suppressNotifications": ["deprecationWarningIssues"]

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Cant seem to compile any saas

Hi

using the command

bundle exec jekyll serve

and if i change a color css in the body for example, nothing happen, no compilation and no new stylesheet generated.

Any idea what i am missing here please ?

Invalid syntax for include tag?

I clone this repo and did everything said on the "get started" instruction, and did not make any changes to the files. But when I run bundle exec jekyll serve (or grunt serve) it returns this:

`C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/tags/include.rb:58:in `validate_file_name': Invalid syntax for include tag. File contains invalid characters or sequences: (ArgumentError)

  /themes//layouts/post.html

Valid syntax:

  {% include file.ext param='value' param2='value' %}`

Anyone know why is that? How can I fix it?

GitHub Pages from "docs"

GitHub Pages has an option for serving the site from a "docs" folder. Rather than the alternate GitHub Pages setup you linked, I attempted to change the destination in the config to docs in place of _site and have use GitHub Pages with minimal alterations to asme. However in doing so, the output is different than when using _site - extra nested directories are created:

-- docs
  -- lab
    -- amsf
      -- site files

screen shot 2019-01-01 at 5 59 27 pm

Github showing readme instead of site

I'm really sorry for this dumb question. I'm new to jekyll, grunt and github pages. I really like this theme and would like to build my portfolio website using this. I tried running everything locally and it runs fine. The only issue is when I push it to my repo, Github renders my Readme.md as my webpage. I do not how how to make it point to the index.html that it builds.

this is my repo: https://github.com/sdhnshu/sdhnshu.github.io

Thank you in advance.

Can't make the link title capitalized during editing footer.html

Hello.
First of all, I appreciate for your cool theme. I think I finally found the very theme I wanted!
I've been editing this one as I prefer, and a problem occurs.
That is, during editing footer.html, I found that I can't make the title of a link to be capitalized.
Even the default one(amsf) isn't capitalized too.
It would be kind of you to help me. The code is like this.

<!-- Footer section -->
{% unless page.permalink == '/' and site.data.curtana.clean_homepage %}
    <footer class="footer">
        <ul>
            <li>
                <a href="{{ '/' | relative_url }}">{{ amsf_site_name }}</a>
            </li>
        {% if site.credits %}
            <li>
                <a href="https://github.com/blankymunn">Github</a>
           </li>
      {% endif %}

Thank you.

版面的排版问题

上一个提问贴的“显示的几个问题”,刚刚基本解决了,找到 了最上面色条的修改方法,是在css和reset中。
现在还有两个问题:
1、我用的5s的手机,旋转的时候,会出现打开页面正常、第一次横转缩小、接着竖转放大;再次横转放大、接着竖转放至更大。这个问题在6plus上测试没有出现。
2、同样只在5s上出现:我添加了一个搜索框,导致nav那一条特别宽。我只要在index.html中添加这一句就会造成这种结果:
{% include themes/{{ site.theme }}/includes/post-search.html %}
只要重复出现这一句的地方,就会把nav上面的色条放宽一倍。
3、排版的一个个人观点:
现在的题目上下空间稍有点大,文章列表(或正文)和总标题距离也大了一些,不知道怎么调。
4、颜色问题:现在改版后,似乎是使用了hexo的一些内容,这也是我上一篇提问中所说的“标题背景色非纯白”的原因吧?
此致

Liquid Exception: Invalid syntax for include tag.

When trying to run after clean install on local machine.

$ bundler exec jekyll serve
Configuration file: /home/user/Documents/almace-scaffolding-2.0.12/_config.yml
            Source: _app
       Destination: _site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: /themes//layouts/post.html Valid syntax: {% include file.ext param='value' param2='value' %} in /_layouts/post.html
jekyll 3.8.5 | Error:  Invalid syntax for include tag. File contains invalid characters or sequences:

  /themes//layouts/post.html

Valid syntax:

  {% include file.ext param='value' param2='value' %}

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.