Code Monkey home page Code Monkey logo

log's Introduction

Andrew Chou's log

Development

  1. Clone git repo: git clone https://github.com/achou11/log.git
  2. Make sure you have the following installed:
    • Janet and jpm. Depending on how you install Janet, jpm may already be installed.
    • Make
  3. Install deps: make install-deps
  4. To build the site, run: make bag-build
  5. View the output in a browser by opening a file in the generated /sites directory

TODO

  • Use jpm rules instead of a makefile?

log's People

Contributors

achou11 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

log's Issues

tooling

for build commands, consider switching from make to:

  • jpm (if it supports this?)
  • ninja

for dev workflow, consider using:

  • entr
  • some http server

tools that I'll have to introduce at some point:

  • html minifiier
  • js minifier (maybe esbuild?)
  • css minifier (maybe esbuild or lightning-css)

RSS support

would be surprised if a janet module already exists for this. would be nice...

how to create proper layout templates?

Based on examples I've seen provided by Bagatto + Temple, there doesn't seem to be a way to define a layout that can be referenced from another template so that it "wraps" it. Instead, you have to piece together fragments and include them everywhere e.g.

# post.temple

{% include top %}

...content...

{% include bottom %}

what i want is something like this:

# base.temple

top content

{{ injected_content }}

bottom content

and then create a template whose content is inserted into the injected_content in base.temple, e.g.

# post.temple

# some reference to the base.temple template above...

I am the middle content that will sit below the top and above the bottom contents

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.