-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: Images/hyperlinks within meta tags chrisdiana/cms.js#95 Google crawler issues chrisdiana/cms.js#93 URLs using history instead of hashes chrisdiana/cms.js#80 Also: Embedded marked in the example as a default option for users Implement github CI on pushes to verify repo Include example site in deployed package Switch onroute and onload to be separate methods outside of the config object Add dynamic page titles based on content Add dynamic Last-Modified headers for automatic post dates Add support for nested content Add support for paths in the URL Retool search to support searching body content Add method to retrieve all tags for a given collection Add SEO-specific page title (text that displays in the browser for the page) Add support for images within metadata (goes along with the bugfix) Fix onroute to only be called AFTER the content has been rendered Add debug logging method
- Loading branch information
Showing
31 changed files
with
9,988 additions
and
1,771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
["@babel/env", { | ||
"modules": false | ||
}] | ||
], | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: CMS.JS CI Test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
# Install dependencies in a ci mode | ||
- run: npm ci | ||
# Check for issues and compile the base code | ||
- run: npm run compile | ||
# Minify the application (to ensure minification works without error) | ||
- run: npm run minify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.DS_Store | ||
node_modules/* | ||
release/* | ||
release/*.tgz | ||
*.swp | ||
npm-debug.log | ||
examples/js/cms.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.