sorry this might be a very silly question but I cannot figure it out. So I am using express-handlebars and I want to name my file newpage.handlebars. But it keeps on saving as a text file. However, I want it to be a HTML extension but the name to be newpage.handlebrs. I have my friends file where he did exactly that but he is away so I can't really ask him. Here is a picture of what he did and what I am doing.His file is mypage.handlebars while mine in newpage.handlebars. How should I fix this. Thanks a lot!
cannot get html extension when using handlebars
125 Views Asked by Safwan Ull Karim At
2
There are 2 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in EXPRESS
- mongoose get property from nested schema after `group`
- Socket.io chat application not working with express?
- Node/Express access logger from request object
- Connect to localhost:3000 from another computer | expressjs, nodejs
- How to combine ng-view with complete pages in AngularJS?
- Breaking on External Call
- Where should I do the core logic code in express js?
- Express js 4, Parse.com JSON error
- Express Router: How do I get parameters? (not URL segments)
- HAML failing in Express code
- Express - Multiparty/Formidable unable to parse files greater than 100kb on Ubuntu. Callback of Parse is not called at all
- Using Bower with Express
- Node Express Routing Problems
- Failed to decode downloaded font on expressJS/NodeJS
- Inserting template code below code in Handlebars layout.hbs
Related Questions in HANDLEBARS.JS
- Handlebars or ember blocking href to external url
- Express 4.0 Failed to Look up view in "/views" directory
- Inserting template code below code in Handlebars layout.hbs
- Backbone Collection only fetched after executing alert
- Installing handlebars without npm
- handlebars include partial in index
- Handlebars template won't render ember data object
- How to get a parent element from an each in meteor?
- Accessing handlebars variable via javascript
- mandrill template variables not substituting
- The refreshed AJAX content hidden due to a CSS property
- Access Properties of JS Object on Controller
- Handlebars template not rendering as expected
- Using compiled images inside Handlebars erb templates
- Referencing handlebars variable in a loop
Related Questions in EXTENSION-METHODS
- How to make extension method which should returns generic type but only nullable numeric datatype in vb.net
- How to extend string to deserialize binary data
- Adding new object property dynamically from extension method
- PHP Sibling Class Inheritance
- Creating a table method on a user defined type (like like 'nodes' on the XML data type)
- Why does this extension method not initialize the returned object?
- How do I make this Python extension work on windows (clear IDLE)?
- When/Why would I use an extension method in VB.Net?
- Extension methods, which is a better choice
- Extension Method for Interface in Internal Class
- Change state of List<T> inside extension method
- Inheritance and extension method
- Swift Dictionary access value using key within extension
- UIImage Extension Not Working Properly
- Swift3, extension to mutablizate a String array
Related Questions in HTMLEXTENSIONS
- MVC 3 htmlhelper extension method to wrap around content
- htaccess for Dynamic URL Rewrite with .html extension based on url selection
- Getting error eg. unexpected keyword or identifier in htaccess file, how to remove it or is there any other way to remove file extension from url
- Configure the Javascript function + Html Helper
- AjaxControlToolKit HTMLExtender ImageUpload works on localhost, not server
- How to access view content between curly brackets in a helper extension
- ASP.Net MVC 3 - Html Extensions
- Why HtmlExtension in MVC makes radio buttons unclickable?
- TextBoxFor for Nullable type
- How can I change my checkbox to radio buttons?
- How to remove HTML Extension from a URL?
- Cross browser extended native elements, with Polymer
- HtmlExtensions looking for this HtmlHelper<TModel> htmlHelper
- Razor html helper parameter shows message about redundant conditional ternary expression usage
- Extend the HTML Grid for adding div at the end of Html Grid (MVC Contrib)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


.handlebarsfile, and paste inside the new copied file.handlebarsfile, and rename the copied one to have the name yours had