Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static generation for publishing #3

Open
notmodified opened this issue Mar 8, 2017 · 1 comment
Open

static generation for publishing #3

notmodified opened this issue Mar 8, 2017 · 1 comment
Assignees

Comments

@notmodified
Copy link
Contributor

/pages needs a static version somehow

@notmodified notmodified self-assigned this Mar 21, 2017
@notmodified
Copy link
Contributor Author

can be done with

❎ REQUEST_URI=pages/homepage/index.php php -d auto_prepend_file=./node_modules/deeson-webpack-config-starter/bin/router.php pages/homepage/index.php > pages/blah.html

needs to be tied up into a cohesive command

ghost pushed a commit that referenced this issue Apr 24, 2017
- Adding a script for static builds, by running the php router script over each of our page files and compiling the assets.
- Setting the router script up to accept arguments for a base url and to run from the command line with arguments.
- Setting hte router up to issue a redirect for auto indexing support
- Allowing pages to have a .html extension and still execute as twig or php so that links can be preserved after static generation.
- Passing the base url into templates so that we can make use of Drupal's `directory` argument consistently.
@ghost ghost mentioned this issue Apr 24, 2017
notmodified added a commit that referenced this issue Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant