I used Brackets.io to create my site. First version of site was made from example ("Getting started" page of Brackets). If you working with Ubuntu - you may use this PPA.
To add repository and install Brackets using Linux terminal use
sudo add-apt-repository ppa:webupd8team/brackets
sudo apt-get update
sudo apt-get install brackets
Then I decided to make a header and footer - the same for each page. Instead of using Ctrl+C, Ctrl+V I found a way how to include html files using jQuery load function. I copied JavaScript file to my folder and used such code from StackOverflow:
a.html:
<html>
<head>
<script src="jquery-1.10.2.js"></script>
<script>
$(function(){
$("#includedContent").load("b.html");
});
</script>
</head>
<body>
<div id="includedContent"></div>
</body>
</html>
b.html:
<p> This is my include file </p>
I didn't know how to insert HTML code to <code> tag because browser hide all tags so I replace all brackets "<" with "& lt;" (without space).
Also I installed spell-checker for Brackets using Extension manager in menu "File".
Anna updated tutorials here. I installed Mercurial using tutorial for Ubuntu. In my opinion it's unnessesary to use "sudo" because all operations were made in home folder. Also I installed TortoiseHG using command "sudo apt-get install thg" to use graphical representation of modifications and changes.
next week |