GithubHelp home page GithubHelp logo

pateskinasy / pateskinasy.github.io Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 6.0 60.51 MB

Jekyll powered site - Stack in README

License: Other

Ruby 0.47% HTML 23.81% JavaScript 53.29% SCSS 22.44%
algolia font-awesome github-pages google-analytics jekyll mailchimp prose staticman travis-ci wufoo

pateskinasy.github.io's Introduction

image

pateskinasy.github.io's People

Contributors

ashmaroli avatar coliff avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar edemaine avatar fa-ribeiro avatar hkalant avatar justinrummel avatar kulbhushanchand avatar lsolesen avatar lucascaton avatar maazadeeb avatar maxheld83 avatar maxime-michel avatar mmistakes avatar nickgarlis avatar ohadschn avatar pateskinasy avatar rschaerer avatar scot3004 avatar stelios3g avatar thoemmi avatar tlindsay42 avatar tobie avatar tony-ho avatar torrocus avatar vincenttam avatar yihangho avatar zenharbinger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pateskinasy.github.io's Issues

Plz use your own Staticman instance

Motiviation

To avoid sραm

Description

Staticman's maintainer has recommended everyone to use his/her own API instance and stay away from any public instance in the comments of eduardoboucas/staticman#317.

<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v3/entry/github/{{ site.repository }}/{{ site.staticman.branch }}/comments">

Other suggestion and comments

The endpoint is better set via a site parameter in _config.yml. See https://github.com/mmistakes/minimal-mistakes/blob/d6444412c63aea5e47241ef536509fb1bfef4830/_includes/comments.html#L38 for example.

⚠️ To avoid search bots from getting the URL of the API instance (and possibly abusing that), the article Bot block for forms suggests putting that into a separate JS file. For an implementation, you may view, for example, my PR daattali/beautiful-jekyll#521.

I wonder if it's possible to replace jQuery with jQuery slim so as to boost page load speed. However, jQuery slim doesn't include the $.ajax method, which can be replaced by a xmlHttpRequest.

$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),

References

You might find the updated official quick start guide useful.

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.